title: Using Git Bash under WSL
body: <p>I need to use Git Bash (instead of the native Linux <code>git</code>) under <code>WSL</code>.</p>
  <pre><code>$ type git.exe
  git.exe is hashed (/c/Program Files/Git/mingw64/bin/git.exe)
  </code></pre>
  <p>The trouble is, I'm getting:</p>
  <pre><code>$ git.exe alias list
  git: 'alias' is not a git command. See 'git --help'.
  </code></pre>
  <p>From <a href="https://stackoverflow.com/questions/60611612/">Expansion of alias failed; not a git command</a>, it seems that I need to override</p>
  <p><code>git --exec-path</code></p>
  <p>But having done</p>
  <p><code>export GIT_EXEC_PATH='/c/Program Files/Git/mingw64/libexec/git-core'</code></p>
  <p>The <code>git --exec-path</code> output is still the same as before:</p>
  <pre><code>$ git --exec-path
  C:/Program Files/Git/mingw64/libexec/git-core
  </code></pre>
  <p>How to override <code>git --exec-path</code>, or make the <code>git alias</code> work?</p>
  <p>PS. the reason that I need to use Git Bash instead of the native Linux <code>git</code> is that the latter gives me:</p>
  <pre><code>$ git pull
  fatal: Unsupported SSL backend 'schannel'. Supported SSL backends:
          gnutls
  </code></pre>
  <p>But I have to use schannel backend for my git to work.</p>
  <p><em>UPDATE:</em></p>
  <p>Just want to point out that all the recommended solutions are not the answer to this specific question, and hopefully such note <em>&quot;will help prevent your question from getting closed and will remove the suggested questions notification from your post&quot;</em>. <em>Thank you all though, for all the answers so far</em></p>