Cats don’t like the smells of vinegar and citrus peel.
So, you can keep cats out of your garden pretty easily by putting bowls of vinegar or citrus peel in various places around the garden (in particular those places the cat likes to visit). The cat will then definitely stay away from those places. Another thing cats hate is cayenne pepper. So it may be worth scattering a generous amount of cayenne pepper in places the cats like to visit. Then again, this may cause the cat to start sneezing violently, which make us feel a bit sorry for it.
If you don’t have any of these products at home and don’t feel like going to the supermarket, you could also try using garlic, ground coffee or chilli pepper.
For some other great tips you should watch this video: