In a large pot, heat the olive oil over medium heat. Add the diced onion and cook until soft, about 5 minutes. Add the minced garlic and cook for 1 minute more.
Add the diced yellow squash and potatoes to the pot. Cook for 5 minutes, stirring occasionally.