Garlic confit is safe as long as it was cooked at the proper temperature, is handled correctly and is stored in the fridge for no longer than 5-7 days before use.