There are a lot of ways to login to a Git server, which means there are a lot of ways to also fail. I have a suggestion for you if, after trying everything else, you are still getting this error:
remote: invalid username or password. if you log in via a third party service you must ensure you have an account password set in your account profile.
Open a command prompt as administrator and enter the following commands:
git config –global –unset credential.helper
git config –system –unset credential.helper
Make sure you do both.
Now attempt to pull from the server again. This time you should be asked for your user name and password. Make sure you use the username that is in the URL of your request. For example, in this URL: https://firstname.lastname@example.org the user name is gituser.
I hope this helped!