How to Upgrade Git on Mac OSX | SJB -->

This website uses cookies to ensure you get the best experience. More info...

Pages

How to Upgrade Git on Mac OSX

Git Version
Lets start by checking current version.
git --version
Install Homebrew if needed.
If Homebrew exists on your machine, update it.
brew update && brew upgrade
Install Git using Homebrew.
brew install git
Now restart the Terminal and check git version. You should see the updated version.
git --version
From now on, you can just update...
brew update && brew upgrade

No comments:

Post a Comment