Git stopped working after installing both Github osx client and RailsInstaller
I didn't find a way to uninstall the git version that railsinstaller (allegedly) installed
(I could have just removed any file that starts with git in /usr/bin but it doesn't seem right)

What I did was just change the system path, which I thought should be trivial

well, apparently there are quite a few places, here are a few from that answer (not in order)

/etc/profile
~/.bash_profile
~/.bash_login
~/.profile   
~/.MacOSX/environment.plist
/etc/paths
/etc/paths.d/


Eventually, what helped was to change /etc/paths (had to learn a bit vim to do so)

I moved /usr/local/git/bin to be the first entry, above /usr/bin and that was about it