repelling groundhogs

How high does this fence need to be? I'll get caught sooner or later if I keep shooting them and they can do allot of damage before I get a shot.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.