Recently I am trying to connect git hub repository to android studio but it shows following the error:
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