Bring out that Instant Pot.
Set it to "Sauté" to heat it up (keep the lid off). Peel and chop half an onion. You want about 1 cup.
Add 2 tablespoons of oil into the pot. Once it's heated up, add the onions. Stir frequently for 3 minutes. While the onion sautés, peel and mince the garlic cloves. Add the squash and garlic to the onions, and stir for 1 minute.