

There is one caveat to this approach and that is the PATH will only be changed in your current running instance of terminal. To add this binary to your path (which will allow you to run “git” from any directory on your system), go to terminal and type this command:Įxport PATH=”/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/”:$PATH Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git


Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/ Xcode’s installation of Git is at the following location on your machine: Xcode 4.3.x or newer comes with Git but the problem is when you install Xcode on your machine (OS X Lion or newer), Git’s path won’t be added to the user path which means if you run git from your command-line, your system will say:
