If I may be so humble as to offer an alternative suggestion:
If it is badly stained with that ugly "yellow" that many gi have after a being washed following many vigorous classes, soak it in white vinegar
(I'm talking a gallon in a full washing machine)for 2 hours.
Let the machine complete its cycle. Once it is complete, wash it as you would usually, but do this one thing: add hydrogen peroxide with your regular wash detergent, liquid or powder makes no difference. I recommend no more than 1.5 cups per washing machine load, but please use your own descretion based on the results you get.
DO NOT PUT THE GARMENT IN THE DRIER! Hang it to dry. Whatever you do, do
NOT put your gi in the drier. Not only do you risk shrinkage, you are emphasizing whatever yellowing there is already. If you have washed it according to the instructions above, you may also undo everything you've just done.
Fold it neatly and put it in your equipment bag, or hang it up in the closet, your choice, whatever.
You may need to repeat this process a couple of times to get that "sharp" whiteness. Also, if you have hard water where you are, you may want to invest in a water softening device. Not only will your gi thank you, but you will notice a big difference in everything else.
I wish you success.