Cut the very top off the head of garlic, exposing all the individual cloves inside.
Tear about a 6"x6" piece of foil. Place the garlic cut side up on the center of the foil.
Drizzle with olive oil and sprinkle with kosher salt and optionally add cracked black pepper or fresh herbs.
Place on a sheet pan or in a muffin tin cup.
Roast for about 40-50 minutes.
Remove from the oven, when it is cool enough to handle, squeeze the garlic onto a plate or on the sheet pan. Make sure none of the garlic shells came out with the garlic before using in a recipe.
Roasted garlic can be stored in the fridge in an airtight container for up to 2 weeks. Or can be frozen for up to 6 months.