If you accidentally install the wrong version of git on Mac OS X 10.7.5, you’ll need to remove it before you can install the correct version. You need to uninstall git if you have problems like the description on this page,
cd /Volumes/Git<TAB>
to navigate to that disk-image../uninstall.sh
, type “yes” when it asked, then your password.which git
in the Terminal. There should be no answer.Then install following the instructions for installing git.