git version 220.127.116.11
This is the git version installed by XCode. I expected to see git version 1.7.7 which is the latest install (at time of this post) that I downloaded from http://code.google.com/p/git-osx-installer/downloads/list.
So the first thing I tried to do is edit my .profile and .bash_profile files so I would add the correct path to use and after several attempts nothing.
You see the google installer installs git into
/usr/local/git/bin/gitbut the version in use is
/usr/bin/gitwhich is the version installed by Xcode.
So after several attempts in editing all my .profile files that are read by the bash and attempting to put the installer's path into my $PATH variable I came into a helpful post that stated to edit the
/etc/pathsfile and place the installer path first in the list like so:
I closed my terminal window and opened a new one ran the following and ....
git version 1.7.7
Hopefully this helps someone having the same issue I had.