title: How to add a GitHub personal access token to Visual Studio Code
body: <p>I received <a href="https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/" rel="noreferrer">an email</a> saying GitHub will require token authentication after August 13 2021. I want to ensure I don't have an interruption of service (push/pull) after this date.
  So I logged into GitHub and <a href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token" rel="noreferrer">created a token</a> for my single repository.</p>
  <p>Now I want to use the token to push/pull my repository from GitHub, in Visual Studio Code, which uses Git and the command line, which I have installed on my Mac.</p>
  <p>What do I do to add/replace the password from GitHub with the generated token I just created to push/pull from my repository? Can I do it from Visual Studio Code or does it get added from the terminal command line?</p>