If you're using git-osx-installer to install Git on Mac OS X Lion, and 'git --version' in Terminal isn't displaying the version you've just installed, then your system is using the version of Git that's provided by Xcode Developer Tools.
To use the git-osx-installer version that you've just installed, you'll need to edit the /etc/paths file and add "/usr/local/git/bin" to the top of that file.
To open the file for editing, type sudo nano /etc/paths in Terminal. Add the "/usr/local/git/bin" line to the top of the file. To write the file, and exit nano after making that change, type Control-O then Control-X. To allow the change to take place, you'll need to quit Terminal, then open it back up again.
git --version should now report the newly installed git-osx-installer version of Git.
developer-tools development git lion mac mac-os mac-os-x nano os-x terminal xcode xcode-developer-tools
17 Dec 2013 Donoku
28 Dec 2012 How to make SublimeLinter work with Ruby & RVM
09 Dec 2012 The tech behind getting Blizzalert into its third season
03 Nov 2012 Little-Corner is now a Heroku-ready Rails app
14 Oct 2012 Sip as a replacement for Pick as a replacement for Digital Color Meter in Mac OS X