When I installed Git with Homebrew it shows as version 1.8.5.2 but on the website the download is for 2.0.1.
Why is Homebrew installing a different version of Git?
When I installed Git with Homebrew it shows as version 1.8.5.2 but on the website the download is for 2.0.1.
Why is Homebrew installing a different version of Git?
Make sure the pre-installed git path (
/usr/bin/git
) isn't before the one installed by brew (/usr/local/bin/git
).Check if
/usr/local/bin/git --version
returns the expected version.Or
/usr/local/git/bin/git --version
.See more at:
"Which Git? How to Keep Git Up To Date on Mac"