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 https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/XXX/XXX.git/': The requested URL returned error: 403
Reference: Creating Personal Access Token
When you clone the repository
git clone https://<TOKEN>@github.com/<username>/<repository_name>.git
Example
git clone https://[email protected]/siakew/personal-access-token.git
Or for existing repository
git remote set-url origin https://<TOKEN>@github.com/<username>/<repository_name>.git
Example
git remote set-url origin https://[email protected]/siakew/personal-access-token.git