In a pot, warm the butter or oil on medium heat for a minute, then add the garlic. Sauté until aromatic, about 30 seconds, then add the diced onion. Sauté the onion until softened, about 5 ...