title: "Git bash here" and "Git GUI here" not working on Windows 10
body: <p>I just installed Git for Window version 2.18.0 64-bit on a new Windows 10 machine (Win 10 Enterprise).</p>
  
  <p>When I right-click in explorer and choose 'Git Bash Here' or 'Git Gui Here' I see an 'Application Not Found' error pop up.</p>
  
  <p><a href="https://i.stack.imgur.com/AfX7j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AfX7j.png" alt="enter image description here"></a></p>
  
  <p><strong>Update</strong></p>
  
  <p>I found <a href="https://stackoverflow.com/questions/24386657/how-to-add-a-open-git-bash-here-context-menu-to-the-windows-explorer">this answer</a> which <em>nearly</em> helped me find the problem and the solution.</p>
  
  <p>With <code>regedit</code> I was able to see that the <code>HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_shell\command</code> was pointing to my user folder, instead of the actual location of git:</p>
  
  <p><a href="https://i.stack.imgur.com/AfX7j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AfX7j.png" alt="enter image description here"></a></p>
  
  <p>For "Git Bash Here", I changed the value to <code>"C:\Program Files (x86)\Git\git-bash.exe" "--cd=%1"</code></p>
  
  <p>Similarly for "Git GUI here", I changed the value for the <code>HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_gui\command</code> to <code>"C:\Program Files (x86)\Git\cmd\git-gui.exe" "--working-dir" "%1"</code></p>
  
  <p>However, I still see the 'Application Not Found' error. Any ideas how to fix this?</p>