Preheat your oven to 375°F (190°C). Line a baking sheet with parchment paper.
In a skillet over medium heat, add olive oil and sauté the chopped onion until soft, about 3–4 minutes. Add garlic and cook for 30 seconds more. Add ground beef and cook until browned, breaking it apart as it cooks. Drain excess fat.
Stir in Italian or taco seasoning, salt, and pepper. Remove from heat and let the beef mixture cool slightly. Mix in shredded cheese.
Unroll the dough onto the prepared baking sheet and gently flatten it into a rectangle.
Spread the beef and cheese mixture down the center of the dough, leaving space on the edges for folding.
Fold the sides of the dough over the filling and pinch the seams to seal. Place seam-side down. Brush the top with egg wash for shine, if desired.
Bake for 20–25 minutes or until golden brown and cooked through. Let cool for 5 minutes before slicing.
Slice into portions and garnish with chopped parsley if desired. Serve warm with dipping sauces like marinara, ranch, or spicy ketchup.