Upgrade Git on OSX with brew

![Git](https://misapuntesde.com/images/git.png)

There is a recent *Git* security update that you **MUST** to install. In the case of *OSX*, I realized I was using a fairly primitive version, so I will use [brew](http://brew.sh) to install this new version and get rid of the old.


For the system to not use the older version, run on the *Terminal*:


sudo mv /usr/bin/git /usr/bin/git.old

Now install with *brew* the latest version on */usr/local/bin/git*:


brew install git

Done!

*brew* is the only way to have the latest versions, due the official package you find to install from the web [git-scm.com](https://git-scm.com/downloads) is obsolete.