Yes, garlic will work. In fact, most of the condiments in your kitchen will work.
Seriously, the legends say that they don't like salt, vinegar, garlic, and maybe some other stuff. Because of their heightened senses, odors that are merely annoying for us are unbearable to them. Holy water, beninditahang lukay (blessed palm fronds), and bagacay (a kind of bamboo) are also said to be effective against them. One more thing that separates them from vampires is that in their human form they can walk around during the day like a normal human.
I don't believe this stuff but they are an interesting aspect of our culture.
Linkback:
https://tubagbohol.mikeligalig.com/index.php?topic=29981.0