Cut the winter squash in half (or into more pieces if very large) and scoop out the seeds. Rub the cut surfaces with a little olive oil.
Place the pieces cut side down on a rimmed baking sheet and roast in a 375° oven until you can easily bury the tines of a fork in it (30 minutes to an hour depending on size).
Let the squash rest until cool enough to handle, then peel and slice into fairly large chunks.
In a large heavy skillet over medium heat, add a little olive oil. When hot, add the minced garlic and let it sizzle for a minute or two.
Add the cooked black beans, roasted green chiles, and squash to the skillet. Stir until everything is hot and the flavors blend.
Turn off the heat and let sit together until ready to serve or fill enchiladas.
