Garlic that has sprouted or started to turn green inside is still perfectly safe to eat. The green areas are just more bitter than before they started to sprout. Roasting garlic that has started to turn green and sprout can help improve the flavor and help preserve it a little longer.