It's part of everything

https://lemmy.world/post/12919251

It's part of everything - Lemmy.World

Dont fry onions and garlic at the same time. Sweat the onions first and then add the garlic in the last 30 seconds before adding the other ingredients like broth or tomatoes. This will prevent your garlic from becoming bitter by overcooking.
Personally, I’d also reserve some garlic uncooked to add at the end. Cooked garlic looses it’s bite. It’s a very good flavor cooked, but I also really like the burn that fresh garlic has. This all depends on what you decide to cook though as some dishes you may not want that.
Also garlic powder for even more garlic flavours.
Granulated is actually better than powder, though it’s less common. The chemical that causes the burn of garlic oxidizes pretty readily, and in powder form it’s pretty much all gone. Granulated has less surface area, so it’s slightly better, though still not as good as fresh.