Garlic — it’s not just for vampires. From Study Suggests Garlic Oil As Repellent:
Garlic oil, the pungent flavoring commonly used in cooking, appears to ward off the European starling, raising hopes that farmers may one day have an environmentally safe repellent against the crop-damaging bird.