解决方案:
This may be an old reply but I'm hoping this is more useful on next who need this solution.
On linux/unix/gitbash/cygwin, try
rm -f .git/index.lock
On Windows Command Prompt, try:
del .git\index.lock
Hope that helps, I found this solution here: Fatal: Unable to create ‘…git/index.lock’ File exists