Github personal access token on VSCODE

This is the easiest way to connect your VSCODE with github.

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see for more information.
fatal: unable to access '': The requested URL returned error: 403

Reference: Creating Personal Access Token

Use Github Personal Access Token on VSCode or any servers | Github Update on August 13, 2021

When you clone the repository

git clone https://<TOKEN><username>/<repository_name>.git


git clone https://[email protected]/siakew/personal-access-token.git

Or for existing repository

git remote set-url origin https://<TOKEN><username>/<repository_name>.git


git remote set-url origin https://ghp_vUVlKgZShi3[email protected]/siakew/personal-access-token.git
Sharing is caring