Unable to create '/home/buildingcheck/building/.git/index.lock': File exists code example Example: index.lock file exists rm -f ./.git/index.lock