this is used to remove the previously configured git lab / git hub accounts
Go to
Control Panel > User Accounts > Credential Manager > Windows Credentials.
You will see Git credentials in the list (e.g. git:https://).
Click on it, update the password, and execute git pull/push command from your Git bash and it won't throw any more error messages