Spread the zucchini, onion, and garlic in an even layer in the skillet. Pour the beaten eggs over the zucchini.