I have looked at the other posts and have made certain that the path is correct to the executable file, as shown below. I can launch git from from this path outside of Android
The path you configure for git should be C:\Users\Computer\Documents\Development\Git\cmd\git.exe
instead. You should use git.exe
not git-base.exe
.
And add git installed path to environment variables (for windows OS):
This PC -> properties -> Advanced system setting -> advanced Tab -> environment variables -> find path in system variables -> edit -> add the git installed path by ;C:\Users\Computer\Documents\Development\Git\cmd
-> ok.
you should go into the "cmd" folder which is created in the main folder that you've installed the Git program. (usually is C:\Program Files\Git). In this folder you can find Git.exe then copy this address in configuration windows in Android Studio.
I just went to the Git path ubication, the only different thing that I did was have stopped at the cmd folder. As you might see in the next screenshot
Subsequently, instead of choosing git-gui.exe option, I select just git.exe option. And it seems to work for me.
As mentioned by Marina-MSFT, you should add git.exe instead of git-base.exe or any other .exe files. You could find git.exe under, in your case, C:\Users\Computer\Documents\Development\Git\bin\git.exe, normally the git.exe file is under bin file of Git you have installed
You should give a path in git.exe in cmd folder
Try this: C:\Program Files\Git\cmd\git.exe
For x64-bit Windows version change the path directory to
Android Studio: File > Settings... > Version Control > Git
c:\Users\AppData\Local\GitHubDesktop\app-<version>\resources\app\git\cmd\git.exe
Change default settings on Android Studio