Homebrew git reporting older version
In ~/.bash_profile
you should amend PATH
to prefer binaries supplied by homebrew. You can do this with the line:
export PATH=/usr/local/bin:$PATH
After changing .bash_profile
you will need to open a new Terminal.app window to see the change take place. Alternatively, you can source ~/.bash_profile
to load in the profile into the current session.