How to Uninstall Git from Mac OS X?

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

  1. Open Terminal
  2. Run this command: cd /usr/local/git/ to see whether the uninstall.sh is there
  3. If yes, run the command: sh /usr/local/git/uninstall.sh
  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!

Published by <span class='p-author h-card'>Aboubacar Douno</span>

Founder and CEO of 54 Startups Inc. A passion for tech, languages, minimalism, plant-based nutrition and travelling

Leave a comment