I am using git-scm and tried to push to a repository. Upon doing so, I was greeted with the following message:
fatal: unable to get credential storage lock: File
This is what fixed the problem for me on Window:
I run git config --list --show-origin
and find all credential.helper=XXX configs, then go to all directories containing those .gitconfig files and change that setting to credential.helper=store
Also, your local config should be helper = manager too: go to .git/config and add/modify this line like this:
[credential]
helper = manager