Slice the garlic thinly
Beat the eggs in a bowl
Add cooking oil to a pan and sauté the garlic
When the garlic turns golden, add the eggs and scramble them
Add the rice and stir-fry until well combined
Season with soy sauce, salt, and pepper
Transfer the fried rice to a bowl and garnish with green onions