In a medium skillet over medium heat, cook the ground beef and onions until the beef is no longer pink. Drain.
Add the garlic and cook for 1 more minute, mixing to combine.
Stir in the mustard, ketchup, brown sugar, and water, mixing until combined. Add salt and pepper, to taste.
Serve warm on hamburger buns.