Preheat your oven to 350 degrees Fahrenheit.
Cut the fresh broccoli into small, bite-sized pieces.
Once all the broccoli is chopped, transfer it to your steamer and let it cook for about three to four minutes, or just until it begins to soften.
While the broccoli is steaming, go ahead and dice the onion.
Once the broccoli has softened, remove it from the steamer and set it aside.
Heat some butter in a cast-iron skillet over medium heat.
Once the butter has melted, add the diced onion.
Sauté the onion until it begins to soften and develop a little color.
Once the onion has softened, stir in the fresh minced garlic.
Continue cooking just until the garlic becomes fragrant, being careful not to let it burn.
Remove the skillet from the heat and set the onion and garlic mixture aside.
Grab two sleeves of Ritz crackers and place them into a large resealable bag.
Break the crackers into small crumbs using your hands, a rolling pin, or whatever you've got handy. Once the crackers are crushed, set them aside.
In a medium-sized mixing bowl, crack in the eggs and give them a good whisk.
Add the cream of mushroom soup, mayonnaise, salt, and black pepper.
Stir everything together until the mixture is smooth and evenly combined.
Fold in one cup of freshly shredded extra-sharp cheddar cheese.
Add the steamed broccoli to the creamy cheese mixture. Give everything a good stir until the broccoli is evenly coated.
Add the sautéed onion and garlic mixture stirring until it's evenly combined.
Transfer the crushed Ritz crackers to a mixing bowl.
Pour in four tablespoons of melted butter.
Using a fork, stir everything together until the cracker crumbs are evenly coated with the butter.
Transfer the broccoli casserole mixture into an 8-by-11-inch baking dish.
Use a silicone spatula to spread everything out as evenly as possible.
Once the filling is level, sprinkle another cup of freshly shredded extra-sharp cheddar cheese over the top.
eEvenly spread the buttery Ritz cracker crumbs over the entire casserole.
Transfer the casserole to your preheated oven and bake at 350 degrees Fahrenheit for about 35 to 40 minutes or until the center is set.
If the topping is already getting dark but the casserole needs a little more time, loosely cover it with aluminum foil and continue baking.
If the casserole is fully cooked but you want that cracker topping a little more golden brown, you can switch your oven to the lowest broil setting for a minute or two.
Once it's finished baking, carefully remove the casserole from the oven.
Let it rest for a few minutes before serving so the filling has a chance to settle.