Steam broccoli according to package directions. Sauté onions in oil until desired tenderness. Let broccoli and onion cool before combining. Combine soup, sour cream, 3/4 cup cheese, egg, salt, pepper and garlic in a large bowl until smooth. Add steamed broccoli, onion, and bacon to the mixture. Pour into greased baking dish and sprinkle with remaining cheese. Bake at 375 for 30 minutes covered loosely with foil.