Combine the cornmeal, self rising flour, sugar, salt, cayenne pepper, and garlic in a large bowl.
Whisk until everything is lump free then toss in the diced onions.
Add in the buttermilk ( or substitution), and egg.
Mix the ingredients until well combined, but don't over mix.
Pour the oil into a large pan, and heat the oil over medium heat.
Once the oil is nice and hot, start spooning it the batter.
Fry the hush puppies until the are nice a golden brown.
Remove the hush puppies from the oil, and place them on a paper towel lined plate.
Serve and enjoy!