I have never used garlic for fleas, but
my neighbor has..
She gives it as a supplement in her dogs food.
I am pretty sure she still uses other flee methods too.