The password of a repo got updated so I had this problem (Access denied)
so I did
git config --global --unset credential.helper
and now I can fetch .
Problem is now it asks for the user and password every time. How can I fix it so that it does not ask it anymore (as it was before)