Execute the command below:
If you have no other git processes running (which is the normal case), go ahead and delete that file.
rm -f ./.git/index.lock
If you have no other git processes running (which is the normal case), go ahead and delete that file.