We are getting this error on every local commit:
Git failed with a fatal error.error: open(\".vs/XXXXXX.Dev.Library/v15/Server/sqlite3/db.lock\"): P
I'm not using Git directly thru Visual Studio but using the Git Desktop client.
I did however get a similar error but solved it by closing Visual Studio before Committing changes to master.