I use BitBucket and had to change my password because it was compromised.
git pull
remote: Invalid username or password. If
If you found authentication error problem when you entered correct password and username it's git problem. To solves this problem when you are installing the git in your machine uncheck the enable git credential manager