Where is git.exe located?

Viewed 518173

I have PyCharm and I am looking around trying to find git.exe to set it up with my repo.

What is the PATH to git.exe?

38 Answers
Install git first to your window from

https://git-scm.com/download/win

 Select this path while configuring with git to Android studio
    C:\Program Files\Git\cmd\git.exe

Sometimes it can be at: C:\Users\user-name\AppData\Local\Programs\Git\cmd. Checking your PATH environment variable for USER and for SYSTEM can give you that.

Check this path:

C:\Program Files\Git\mingw64\libexec\git-core\git.exe

GitHub Desktop team member here

What is the PATH to git.exe?

The version of Git used in GitHub Desktop (or GitHub for Windows) is not intended to be used directly by users, as the path will changes between updates and it might lack some features you need.

I recommend installing Git for Windows which will be installed at a predictable location under C:\Program Files\Git\cmd\git.exe.

I am working with GitHub Desktop 1.0.13 and I wanted to add git.exe to my Intellij ennvironment. I have found it in C:\Users\Adam\AppData\Local\GitHubDesktop\app-1.0.13\resources\app\git\mingw64\bin\git.exe

If you have Visual Studio 2022 installed, git.exe is located here:

C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin

Related