Removing built-in git from El Capitan
There is a good answer over on Stack Overflow:  How to upgrade Git to latest version on Mac OS X?

Basically, you want to use brew to install and manage your (separate) git installation and leave the one provided by Apple alone.  You will obviously have to have Home Brew installed initially.

To install:

brew install git


To update:

brew upgrade git