When there's plenty of opportunity to search for and find evidence, and multiple researchers do try, and repeatedly fail to find evidence (or they have mild "success" every one try out of ten, by pure luck, see: https://en.wikipedia.org/wiki/Data_dredging), that strongly suggests that there's no real effect.
Especially when you know that these people don't only do this with garlic, but with every single piece of spice, herb and other plant material you can imagine. Yes, some of them are effective; contrary to what many people believe (and you can read this in this thread, too), most, if not all our medicine is of "natural" (plant or animal) origin. Yet, at the same time, most "natural" stuff is not medicine. Why cling to the ones we can't prove effective however we try, when there are many more candidates?