Preheat the oven to 250 degrees Fahrenheit. Peel your garlic and remove the hard ends.
Add peeled garlic cloves, oil, herbs, and spices to a small oven-safe dish. Make sure all the garlic is submerged in the oil and bake for about 45-60 minutes until the garlic is soft and tender but not brown.
Remove from the oven, let cool, and enjoy! Never let your garlic confit sit out at room temperature. Store any confit you aren't planning on eating in the fridge immediately.