1Heat oil in a large wok or pan over medium-high heat.
2Add garlic and cook until golden and fragrant, about 1 minute.
3Beat eggs and scramble them in the pan. Set aside.
4Add rice to the pan, breaking up clumps with a spatula.
5Stir in soy sauce, salt, and pepper. Mix well.
6Return eggs to pan and add green onions. Stir everything together.
7Cook for 2-3 more minutes. Serve hot.
Use day-old rice for best texture. Cook garlic until golden but not burnt.