Why am I getting fatal: Unable to create '.git/index.lock': File exists even when no Git process is running?
09:23 24 Nov 2025

I get this error:

fatal: Unable to create 'C:/Users/HP/.git/index.lock': File exists

There is no other Git process running.
Is it safe to delete the index.lock file manually?

git github