1. Rigth click on the repo (in file navigation right click on the repo folder) and select GitBash GUI Here.
  2. Then commit with GitGUI: git commit
  3. If the problem is not solved in the .git folder delete the index.lock file.