I recently installed the latest version of git (1.7.6) for OS X (10.7).
When I run echo $PATH, it returns this:
/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
What I’m curious about is why/how /usr/local/git/bin is there. It’s not in any of the usual places, like .bash_profile or .profile.
Where does the OS X installer add this to?
Have a look for
MacOS.plistor look in:/etc/paths.d.