title: Git Checkout hangs indefinitely with git bash. How to solve?
body: <p>I have been working on a project in the develop branch using git bash on my work computer.  I have just attempted to checkout to the master branch as I intend to merge the changes, but when I attempt to do this the command line hangs indefinitely until I kill it with CTRL + C.</p>
  
  <p>If I attempt to checkout again, I get the following error:</p>
  
  <blockquote>
    <p>Another git process seems to be running in this repository, e.g.
        an editor opened by 'git commit'. Please make sure all processes
        are terminated then try again. If it still fails, a git process
        may have crashed in this repository earlier:
        remove the file manually to continue.</p>
  </blockquote>
  
  <p>However, after deleting the index.lock file, attempting to use git checkout once again simply hangs in the terminal and never makes any progress until I kill the process once again!  Etc.!</p>
  
  <p>Has anyone come across this, and if so, how did you go about solving this issue?</p>