Git executable - Where is git.exe located?

4.2K    Asked by AdamLipscomb in Devops , Asked on Jun 14, 2021

 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?

Answered by ajith Jayaraman

Git executable can be found by using running git --exec-path, which usually lives in the Git execution path. where git.exe will give you the path.

But for Linux, the path is /user/libexec/git-core

Note: If git foo is not a built-in command then the command will first search for the git-foo commands in the git exec path, then in the rest of your $path



Your Answer

Interviews

Parent Categories