Steps
1. Heat the butter in a skillet over medium heat.
2. Add the sliced onions and sauté until they are translucent and slightly caramelized, about 5-7 minutes.
3. Stir in the minced garlic and cook for an additional minute until fragrant.
4. Add the diced potatoes to the skillet, season with salt and pepper, and stir well to combine.
5. Cover the skillet and cook for about 10-15 minutes, stirring occasionally, until the potatoes are tender and golden brown.
6. Remove from heat and garnish with fresh parsley if desired before serving.