Getting rid of the ants invading your garden doesn't have to involve breaking out the harsh chemical pesticides. Many of nature's own products can be used as a healthier way of getting rid of ants in a garden. In fact, there's a good chance you can use some of the vegetables and herbs growing in your garden to ward off those pesky ants for good.
Slice one whole bitter cucumber and several cloves of raw garlic. Lay them around the perimeter of your garden. Ants have an aversion to both cucumber and garlic and are unlikely to cross them if laid in their path.
Lay bags of mint tea throughout your garden or sprinkle dried, crushed mint leaves on your garden's soil. Ants dislike mint and are unlikely to stay if it is present.
Place solar lights around the perimeter of your garden. Having light present during the night disrupts the ant's natural foraging pattern and discourages them from staying in your lit garden.
Spray your plants with a diluted citrus oil repellent. Soak the rind of two large oranges in 1 gallon of water. Let the rinds steep in the water for 10 days, releasing the orange oil into the water. Strain out the rinds and pour the citrus water into a 1-gallon container.
Dilute 2 ounces of the citrus repellent with another 1 gallon of water and pour into a spray bottle. Mist your plants with the mixture. Alternately, you can spray the citrus repellent, undiluted, around the perimeter of your garden.