How to Uninstall Git from Mac OS X?

To uninstall Git from Mac OS X, you need to find the file that comes with Git and execute it.

  1. Open Terminal
  2. Run this command: cd /usr/local/git/ to see whether the is there
  3. If yes, run the command: sh /usr/local/git/
  4. 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:
  5. Type yes
  6. Enter your password

That’s it!

Leave a Reply