How do I uninstall git version 1.6.5.1 from Mac OS X 10.5.8?
I recently had to upgrade from 1.9.3 to 2.2.1 on Mac OSX 10.10.1
I successfully ran the installer for 2.2.1, but the command line "git --version" still showed 1.9.3.
It turns out that 2.2.1 was successfully installed to /usr/local/git/bin and the directory was added to my path. However, 1.9.3 was installed in /usr/bin, which appeared in my shell PATH variable before /usr/local/git/bin, and so was being called before the updated version.
This was fixed by running "sudo rm -rf /usr/bin/git*" and restarting the command line.
FYI: if you think you're having a similar issue, you can find the various versions of git in your PATH by running "type -a git"