Scramble egg in a saucepan, stirring to break egg into pieces. Add water, soy sauce, garlic, and onions. Bring to boil. Stir in rice and cover, Remove from heat and let stand for 5 minutes.