how to change git password through credential manager code example
Example: how to change username and password in git
# change the whole things in one go
git config --global credential.helper cache # to enable credentail helper
git config --global --edit