I'm trying to install git from source using
make prefix=/Users/gareth/local/git install
but after installation nothing works properly, the commands all fail with, for example
git: 'pull' is not a git-command. See 'git --help'.
After some research I found out that the most obvious problem is this output:
$ git --exec-path
/Users/gareth
but I don't know why the exec-path is set to my home directory. The binaries are all in what appears to be the correct place, ~/local/git/libexec/git-core/git*
How can I work out what went wrong, and how to fix it?