rosemary and garlic essential oil in spray bottle with water;dog hair &/or human hair spread around garden;fencing;motion sensor sprinkler heads
Shaved Irish Spring soap placed around plants. They hate the smell.
You could hang moth balls in stockings then replace after it rains when disolved
Environmentally this isn't the best idea. They can damage a lot. https://www.gardeningknowhow.com/plant-problems/pests/pesticides/mothballs-in-gardens.htm
We put a fence around our Garden about 6 ft tall with a 3 ft topping on it. So far so good