I got the updated brew version downloaded already.
Do this to disable it:
sudo chmod -x /Applications/Xcode.app/Contents/Developer/usr/bin/git
sudo cp /Applications/Xcode.app/Contents/Developer/usr/bin/git /somewhere/to/backup/just/in/case sudo rm /Applications/Xcode.app/Contents/Developer/usr/bin/git sudo ln -s /usr/local/bin/git /Applications/Xcode.app/Contents/Developer/usr/bin/git
$ ls $(git --exec-path)
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory
so the command would be:
sudo chmod -x /Library/Developer/CommandLineTools/usr/bin/git
IIRC, you might have a /usr/bin/git executable but that's not actually git, all it does is shows a GUI that prompts you to install XCode
Yea, /usr/bin/git is still there:
$ git --version $ git version 2.6.4 (Apple Git-63)
% xcrun --find git
wat
I got the updated brew version downloaded already.