git command not recognisable in android studio terminal

You need to set Environment Variable path for your git.exe.

Right-Click on My Computer Click Advanced System Settings Click Environment Variables

Then under System Variables look for the path variable and click edit Add the path of git’s bin to the end of the string.


I found the simple solution here.

Go to File--> Settings-->Terminal-->Shell Path --> Browse--> path of git bash.exe-->Apply-->OK

enter image description here

Now Restart the Android studio to effect changes.

OR

You could also just start a new session

That's it. Now you can use terminal as git bash..