title: git stash not working in an IntelliJ PowerShell, why is that?
body: <p>I installed git using scoop and generally it seems to be working fine, but I run into an odd situation. When I try to stash changes in a PowerShell console inside IntelliJ (PyCharm actually), I get this error:</p>
  
  <pre><code>&gt; git stash
  fatal: could not exec C:/Users/pupeno/scoop/apps/git/current/mingw64/libexec/git-core/git-legacy-stash: No such file or directory
  </code></pre>
  
  <p>Indeed that file doesn't exist; but running git stash on a standalone PowerShell works. Any idea why this might be?</p>
  
  <p>The way I configure PowerShell to be my terminal is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/Ilmns.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ilmns.png" alt="enter image description here"></a></p>
  
  <p>and this is what the error looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/ASYzg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ASYzg.png" alt="enter image description here"></a></p>