Pushing to master

I am getting problems in pushing to the master, I generated token and update it and now I am getting this error mentioned in the attached picture


please note the marked yellow username is wrong and I can’t update it

The username is determined by the .gitconfig file inside your user folder (C://Users/YOUR_USER)

You can update that with:

git config --global user.name YourName
git config --global user.email YourEMail

For further information check the official git docs:
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

Setting the user.name config option sets the name that gets recorded as the author in commits, it does not affect authentication when pushing. Those things are completely separate.

That Git isn’t asking for credentials means they are most likely cached somewhere. You need to figure out where (probably a credential manager) and update or delete the old credentials.