Mac OS Version Control System

How to uninstall Git from MacOS

Git is a free and open-source distributed version control system designed to handle small to very large projects with speed and efficiency. Git is relatively very easy to learn and has a tiny footprint with lightning-fast performance. It helps in tracking changes in source code during software development. Designed for coordinating work among programmers. But it can also be used to track changes in any set of files. Here are some related Git contents: How to install Git on macOS, how to use AWS CodeCommit, and how to clone a repository and install software from GitHub on Windows. In this guide, you will learn how to uninstall Git from macOS.

Check the version of Git Installed

You can check your current version of Git by running the git --version command in a terminal (Linux, macOS) or command prompt (Windows).

Screenshot-2021-04-25-at-23.14.37

To uninstall Git, run the command below on macOS. If you installed Git on your device via the official Git instruction guide, This means Git was installed to the following path: /usr/local/bin/git. To see the path of the given executable that is executed, run the command “which git” as shown below.

Screenshot-2021-04-25-at-23.05.08

Uninstall Git from macOS

Therefore, you will have to run the uninstall script in the following location as shown below.

/usr/local/git/uninstall.sh
Screenshot-2021-04-25-at-23.02.49

I hope you found this blog post helpful on how to uninstall Git from MacOS. If you have any questions, please let me know in the comment session.

Subscribe
Notify of
guest

5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Luke

Thank’s a lot, that helped me out!

yasin

Hey, when i was write uninstall command, he showed a error like this “zsh: not a directory: /usr/bin/git/uninstall.sh”

yasin

Git have already install on my mac. I solved this problem. Then i writed this here.

5
0
Would love your thoughts, please comment.x
()
x