I'm able to use man git when MANPATH is set to the following:
$ echo $MANPATH
/usr/local/opt/findutils/libexec/gnuman:/usr/local/opt/coreutils/libexec/gnuman:
However, when it doesn't include the trailing colon, man says it can't find the entry:
$ echo $MANPATH
/usr/local/opt/findutils/libexec/gnuman:/usr/local/opt/coreutils/libexec/gnuman
$ man git
No manual entry for git
The manpage is located at /Library/Developer/CommandLineTools/usr/share/man/man1/git.1, and I'm running the command from my home directory. I understand the trailing colon tells man to search the current directory as well as MANPATH, so why does it cause man to find the entry under /Library?


env | grep MANPATH. It's possible that your outside manpath isn't exported and so not really being used. The git.1 manpage is in/Library/Developer/CommandLineTools/usr/share/man/man1/git.1on 10.11.5 which wouldn't be found with that MANPATH