Push the garlic and onion to one side of the pan. Pour the beaten eggs into the other side. Scramble the eggs until just set.