Step 1Preheat oven to 350 degrees.Step 2Slice 1/3 inch from the top of the heads of garlic, exposing the cloves. Wrap each head in foil and transfer to oven. Roast until cloves are very soft, about 1 hour.Step 3Remove from oven and let garlic cool in foil. Unwrap and squeeze garlic cloves from skins into a medium bowl. Mash using a fork.