








When a friend first forwarded me notice of a security vulnerability in the Github client for Mac and Windows, I thought it didn’t affect me, because I only use git on the command line. Then, I saw another article which made it clear that the vulnerability is in the git code itself (not any particular client implementation).
Here’s how to update your command-line client on Mac OS.
Run git --version from your command-line.
If it’s not at version 2.2.1, run the following:
brew update
brew upgrade git
Confirm that you have the latest version:
$ git --version
git version 2.2.1
(If you don’t have homebrew installed yet, install it first: http://brew.sh/ )
Cheers.