The secret is to cook your garlic at a low temperature for a longer period of time. Garlic does not respond well to high temperatures. For perfectly soft, golden, mellow, and sweet roasted garlic, patience is key!