Preserving peeled garlic?

I freeze homemade garlic confit and oil-packed sofritto all the time. I don’t bother defrosting, it scoops straight into the pan easily, and I melt it there over low heat.