I have created a new private repository on Github. But when try to push the code to this remote repository, was facing a problem. All steps taken on my commit procedure was perfect. But at the last step can not push the code to Github. Just show the error on my VS Code prompt “repository not found”. I have create the repository properly on Github. It showing me like this:

So everything looks ok but why facing this problem, I’ve been stuck for an hour.
Suddenly remember that I have two credentials for Github. So just check that, which credential I have set on my local development environment (a Windows 10 PC). To do this, from my local pc, go to Windows Start -> Settings and search for “Credential Manager” like below

Open credential manager. Then I have seen that there are two setup for Github. But all the two are not showing my expected credential.

So change the last one to my expected credential. Then again try to push the code to Github. Now Github asking a credential on my browser prompt. I choose the token credential. Create a token use for my local pc, I go to Github account. Open sidebar on Github. Go to: Settings -> Developer Settings -> Personal access tokens -> Tokens (classic)
Select “Generate new token”, then from dropdown choose “Generate new token (classic)”. Now personal access token (classic) form show like below:

Provide data like picture. Here on the form I give my name, you can give any name in the Note field. On Expiration select “No expiration” and all the checkbox check. Then press Generate token. A new token created on Github and show. Please take a copy of the token and save securely some where for future reference, because the token only show one time. Now paste the token on browser prompt showing on your windows PC.
After past and save again go to terminal and try to push code. Now successfully push the code to Github repository.