To uninstall Git from Mac OS X, you need to find the uninstall.sh file that comes with Git and execute it.
- Open Terminal
- Run this command:
cd /usr/local/git/to see whether the uninstall.sh is there
- If yes, run the command:
- The output of the command above will be:
This will uninstall git by removing /usr/local/git/, and symlinks. Type 'yes' if you are sure you wish to continue:
- Enter your password