Short of 8 ft fencing with unappetizing plants on the outside, nothing I've ever read comes with a guarantee!
Yes, Marigolds have an odour that is supposed to deter pests (deer count as pests in my book), but trust me, if they get desperate, they may decide to eat it anyway.
The same is true of both sunflowers and allium family plants like garlic and walking onion.
Some mints might discourage them more than others. They do seem to avoid Lemon Balm with is in the mint family. It mows nicely too, in my ecosystem.
They supposedly don't like the furry leaves of comfrey, until we had a dry spell and they were feeling desperate.
If you know a few people with male dogs that need brushing or pruning, I have used dog fur twist-tied to fences at nose height. It has to be refreshed in the spring and every couple of months during gardening season, but it seems to suggest to the deer to go elsewhere. It looks like I've decorated with pom-poms! In the spring, the nesting birds steal some of it, but I'm willing to share. Just having anyone with a dog inviting it over to mark your land regularly, may be of some help.
Some people plant "deer gardens" far away from their "people garden" in the hopes that they will go there instead, but if the population is high enough, and the lack of alternative food sources great enough, this too may fail. I feel a little as if feeding *any* wildlife is a double edged sword, as their population may increase as a result and then the problem just gets bigger.
Here are some threads about fencing. I personally have had no luck with the black plastic deer fencing once it gets a bit old and they get used to it. Nor did I have luck trying to use electric fencing - they just evaded it - I would have had to keep plants too trimmed back.
https://permies.com/t/140079/Wavy-Deer-Fence
https://permies.com/t/154835/Deer-fencing-advice
https://permies.com/t/141026/Dealing-deer
https://permies.com/t/184425/Deer-fencing-sounds-works