Android Studio Path to Git executable

I’m developing on windows but have installed Bash for Windows (basically a Unix terminal for those who don’t know about Windows 10 anniversary update). I installed git through this terminal (sudo apt-get install git) as opposed to downloading it as a Windows application from GitHub.

I’m now trying to integrate Git into Android Studio, and it’s asking for a path to the Git executable. Because I didn’t download it as a Windows application, there is no .exe, and instead I’ve tried to give the path C:\Users\Faizan\AppData\Local\lxss\rootfs\usr\bin\git which is where the terminal tells me where Git is when I type type git. I didn’t really expect this to work because it’s not an .exe but I’m stuck on ideas from here.

  • How to show git log history in reverse order at the Android Studio?
  • Android studio and git
  • Where Exactly Should I Place .GitIgnore File in Android Studio Project
  • Can't checkout from Version Control Git with SSH (Ciphers, MACs, KexAlgorithmsc)
  • Android Studio, how to add my own git repository as a library project(sub module)?
  • Cannot build app when using gradle (Android Studio) and local maven repo
  • How can I make this work without having to download Git for Windows? How do people who develop on Unix systems deal with this path as they don’t have an executable file either?

  • Can't push gitolite-admin by braking gitolite.conf
  • How can I check out a file from another branch into a new file in the current branch with git?
  • Elastic Beanstalk failed to update local Git configuration
  • TeamCity + git and authentication for submodules
  • Can Gerrit replace Trac for issue tracking and code browsing
  • How do I use a localized PostBuildEvent in an environment with multiple collaborators?
  • One Solution collect form web for “Android Studio Path to Git executable”

    You still have to download Git For Windows.

    Try the portable edition: PortableGit-2.10.0-64-bit.7z.exe

    It comes with a bash, but even without opening a bash, you sttill have (in a regular Windows CMD session) 200+ Linux commands in <yourGit2.10>\usr\bin.

    And of course, it has a git.exe, which is what your Android Studio needs.

    Git Baby is a git and github fan, let's start git clone.