How to Keep Cats Out of Gardens?

They sell a few different types of repellents in alot of pet food stores, but a natural way is to spread lemons around and/or spray lemon water. Cats hate citrus for some reason.