I\'m trying to learn how to use Git and have created a small project with an HTML, CSS, and Javascript file. I made a branch from my basically empty project and then made so
Delete index.lock in here:
index.lock
/.git/index.lock
Also, if your repository has submodules, delete all index.lock in here as well:
/.git/modules//index.lock