Recently I am trying to connect git hub repository to android studio but it shows following the error:
Integrate Git into the projectIn Android Studio, go to Android Studio > Preferences > Version Control > Git. Click Test to ensure that Git is configured properly in Android Studio.
Git executable can be found by using running git --exec-path, which usually lives in the Git execution path. git --exec-path will give you the path.
1 Answer. If on windows, the default path is C:\Program Files (x86)\Git. The name of the executable is not git.exe for all systems.
Install Git if not already installed.
In android studio click on File -> Settings -> Version control -> Git
Then click to select Path to Git executable
You should find your git.exe file in path: C:\Program Files\Git\cmd\git.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With