I always have some emergency garlic confit in the fridge.
Take an ovenproof baking dish, fill with peeled garlic cloves, cover cloves with high quality olive oil. Cover with tin foil. Cook for one hour in oven, low temperature.
Store in glasses. Will keep for weeks. Or months in fridge, although the oil will become solid.
Use it for whatever needs a garlic boost (which is almost everything).
You're welcome! You'll love it. There are tons of Youtube videos about this, btw.
And there are tons of great things you can do with it - for example:
Blend the soft garlic with parmeggiano, spread on slice of ciabatta, sprinkle with cheese, bake until golden brown, sprinkle some garlic oil and parsley. That's some fantastic garlic bread.