I have installed the Apple Developer Tools 5 on Mac OS X 10.9.4 which comes with Git:
git version 188.8.131.52 (Apple Git-48)
I also have installed Git 2.0.1 using the Mac OS X installer. How do I best set it up so that all applications use Git 2.0.1 by default? I could exchange the Apple Git binary for a symlink to the custom one. Alternatively I would have to modify the
PATH so that it looks up the custom Git first. Is there any reason to prefer one over the other?
Also, is that even a safe thing to do? Would anything, for instance XCode, break if I replaced Apple Git with Git 2.0.1?