In a medium, heavy-bottom saucepan, melt the butter with the oil over medium-high heat. Stir in the onion and cook, stirring occasionally, until the onion softens and takes on a golden shade, about 15 minutes. Stir in the garlic and cook just until aromatic, 1 to 2 minutes. Set aside and season with salt and pepper