Locate Git installation folder on Mac OS X

Viewed 192218

I'm just curious, Where Git get installed (via DMG) on Mac OS X file system?

11 Answers

you can simply use this command on a terminal to find out git on unix platforms (mac/linux) -

whereis git

This command should return something like - /usr/bin/git or any other location where git is installed

You can also try with /usr/local/bin/git it worked for me

On Mojave

The binary is in

/usr/bin/git

The related scripts are here

/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git
Related