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
I have same faced issues when i tried to staged file in SourceTree.
To solve this go to the .git folder in the project directory and manually delete index.lock and you are done.