After all these years I finally figured out the way to keep the animals out of my garden!!
Here are pictures of what I did. For the old garden, where I mostly have tomatoes and beans I have a combination of wire and mesh. The latter surrounds the garden and keeps out squirrels who eat tomatoes. For the new garden were I zukes, cukes (for pickling) and herbs I didn’t need mesh as groundhogs are the problem and they can’t climb at all.