Preheat the oven to 350°F (175°C).
In a large skillet, heat the olive oil over medium heat. Add the diced onion and sauté for 3-4 minutes until softened.
Add the minced garlic and ground beef to the skillet. Cook until the beef is browned and cooked through, about 5-7 minutes. Drain excess fat if needed.
Stir in the chili powder, cumin, salt, and black pepper. Cook for an additional 2 minutes to combine the flavors. Remove from heat.
Warm the tortillas in a dry skillet or microwave to make them pliable.
Spread about ⅓ cup of the beef mixture down the center of each tortilla. Roll the tortilla tightly and place seam-side down in a greased baking dish.
Pour 1 cup of enchilada sauce over the rolled enchiladas, ensuring they are well covered. Sprinkle with 1 cup of shredded cheddar cheese.
Cover the baking dish with aluminum foil and bake in the preheated oven for 15 minutes.
Remove the foil and bake for an additional 10 minutes, or until the cheese is bubbly and slightly golden.
Remove from the oven and let cool for a few minutes. Garnish with chopped cilantro if desired before serving.