Cook the ground beef in a skillet over medium heat until browned. Drain excess fat.
Add the chopped onion and minced garlic to the skillet with the beef and cook until the onion is soft and translucent. Season with salt, pepper, and any additional herbs or spices you like.
Remove from heat, let it cool slightly, then mix in the shredded cheese. Set aside to cool completely.