What fixd it for me in privates repos is
Name of my repo is tcc
Thank you so much!
I was facing the same issue and was able to solve the issue by following the below conversation on the community.
yes the repo is private. after add my git-name now working fine. Thanks
Open Control Panel from the Start menu
Select User Accounts
Select “Manage your credentials” in the left-hand menu
Delete any credentials related to Git or GitHub
Then try pushing, it will ask you the git cred, enter it and enjoy the pushing…