AVISO: Sua versão do git é 1.9.3. possui sérias vulnerabilidades de segurança
Recebi um aviso sobre a grave vulnerabilidade de segurança do git 1.9.3 durante a implantação no Heroku
Tentei atualizar o git via homebrew, mas descobri que o git não foi originalmente instalado via homebrew
Então eu instalei via homebrew
brew update
brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-2.2.1.mavericks.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The "contrib" directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
/usr/local/Cellar/git/2.2.1: 1356 files, 31M
Depois disso, quando verifiquei a versão git, ela permaneceu a mesma
⇒ git --version
git version 1.9.3 (Apple Git-50)
Parece para mimhomebrew instaladogit na pasta/usr/local/Cellar/git/2.2.1
E finalmente minha pergunta: o que devo fazer para começar a usarhomebrew git em vez do originalgit?