Can't seem to use the link here. Probably a good thing.
(small spoiler following)
Got as far as the first dog options, and it would be so dependent on the dog.
My personal, overall answer would be to not look in the eye and slowly walk away, picking up a good solid object such as a stick, but not to throw it until you are OVER the fence. Where is this option?
I've allowed a few dogs to escort me off land. The longest would have been a slow 80 meter walk. It was a nice 80m walk up to the new build on the river once I jumped the fence. A little more intense on the way down, but I won't waste that story here.