I don't use garlic but don't like it when people are told it's toxic. A lot of things can be toxic to chickens, and people as well. It's all in moderation. https://www.backyardchickens.com/threads/food-advice.1608902/#post-27427812
It's also in this article by our BYC Project Manager.