# [MacOS 10.11]uninstall git client

2 messages from 2021-03-23 to 2021-03-23. Participants: 张博平, Torsten Bögershausen.
Thread: https://gitlist.dev/t/55370

## 张博平, 2021-03-23 06:20

Subject: [MacOS 10.11]uninstall git client
Message-ID: <CA+cd+tU8AMDoAdDNMP4cwgRFN+YP_PfGzDwHHzS3DOhQvUhpkg@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2Bcd%2BtU8AMDoAdDNMP4cwgRFN%2BYP_PfGzDwHHzS3DOhQvUhpkg%40mail.gmail.com

```
How to uninstall git client in MacOS 10.11?

I installed git client to /usr/bin/git, but I can't uninstall it.

run 'sudo rm /usr/bin/git', NOPE.

disabled 'csrutil' and remove again, NOPE.

Do you have any shell script or some tools to uninstall it?

```

## Torsten Bögershausen, 2021-03-23 16:32

Subject: Re: [MacOS 10.11]uninstall git client
Message-ID: <20210323163217.2gbqphbw7dopvcxb@tb-raspi4>
URL: https://gitlist.dev/e/20210323163217.2gbqphbw7dopvcxb%40tb-raspi4
In-Reply-To: <CA+cd+tU8AMDoAdDNMP4cwgRFN+YP_PfGzDwHHzS3DOhQvUhpkg@mail.gmail.com>

```
On Tue, Mar 23, 2021 at 02:20:25PM +0800, 张博平 wrote:
> How to uninstall git client in MacOS 10.11?
>
> I installed git client to /usr/bin/git, but I can't uninstall it.
>
> run 'sudo rm /usr/bin/git', NOPE.
>
> disabled 'csrutil' and remove again, NOPE.
>
> Do you have any shell script or some tools to uninstall it?

What does
/usr/bin/git --version
say ?

On an oldish MacBook it says:
git version 2.10.1 (Apple Git-78)

So typically /usr/bin/git "belongs" to Apple
- and that may be outside the scope of this list.

Out of curiosity:
Why do you want to uninstall Git ?

```
