I am having issues with my git on a windows machine. I always have some git files that are modified in every repo, the files that show as modified are same.
If I clone
I just had this problem and for me the fix turned out to be quite simple.
Ensure there are no git processes currently running and then delete .git\index.lock.
.git\index.lock
After this the modified state of my files were handled correctly.