You can get rid of ants in your garden by setting out some bakers yeast where the ants are and the ants will then eat the bakers yeast and it will kill the ants by swelling them out inside.
Another home remedy for getting rid of ants is to take some baking soda and sugar and make a natural ant bait.
Mix a little sugar with some baking soda in a container that the ants can reach and the sugar will attract the ants and the baking soda will kill the ants.