While I try to execute any git command like:
git checkout -- project-folder/home.php
or,
git add project-folder/home.php
shows error as following:
fatal: Unable to create '/project-folder/.git/index.lock': Read-only file system
What is the solution?