Heat the olive oil in a large pot over medium-high heat.
Add the squash, onions, and garlic and cook, stirring occasionally, until the squash begins to soften and brown.
Add the stock and bring it to a boil. Then reduce heat until the soup simmers. Cover the soup and continue simmering it until the squash is fork-tender.