Heat oil on medium heat. Put in smashed garlic cloves to flavor the oil. If garlic begins to get too dark, remove from the pan. Add butternut squash to pan. Saute squash until color is golden brown, and then turn to another side. Butternut squash is finished cooking when it is soft throughout.
If you haven't already, remove garlic cloves from the pan. Add salt and parsley to squash and mix together. Serve immediately.