Answer: I too live in the country and I know what you mean. I finally put up a tall (8 feet for deer) perimeter fence and keep my gardening inside it. Some gardeners also electrify the fence including a stran about a foot high to deter smaller animals. Groundhogs are very destructive and to keep them out takes a fine meshed metal fence buried parallel to the ground and reaching outside the garden by at least a foot or so. You could also catch smaller critters in live catch and release traps but be very careful because they are wild animals, unpredictable and actually quite dangerous For that reason I would suggest contacting a professional to remove groundhogs. The foxes (and snakes) actually help control and deter the smaller garden munchers as can pet cats and dogs. Some gardeners also report success using repellents, either home made with garlic and/or pepper or the commercial sprays or even the predator urines, but in my experience the multiple fence solution is the most reliable. I'm sorry I don't have a better answer.
Q&A Library Searching Tips