Lots of things will run random things in path... For example, some people like to use source foo in shell scripts to load another script, but that will first search PATH for foo and load it. You have to specify a "/" in foo in order to avoid the PATH search.
> git credential-oauth
> If you have problems, make sure that the binary is located in the path and is executable.
Wait, git will happily run random binaries in path?
Is there a complete list of these? I take it git credential-format-hd and git remote-format-hd will at least work?
(This is ofcourse in addition to hooks).