I had the same issue today. It turned out that I somehow had two configs for credential.helper. Use git config --list to check whether your have multiple credential.helper=”XXX”.
In my case, I had credential.helper=manager in global config and credential.helper=store in local config.
I removed the local one in path-to-git-project/.git/config and solved the problem.