title: Can't update git to use access token instead of password
body: <p>I'm trying to update my <code>git</code> settings (on macOS Big Sur) to use a personal access token for GitHub, instead of a username and password.</p>
  <p>I have followed all the <a href="https://docs.github.com/en/free-pro-team@latest/github/using-git/caching-your-github-credentials-in-git" rel="nofollow noreferrer">instructions</a> and installed the <code>osxkeychain</code> helper. Then:</p>
  <pre><code> git config --global credential.helper osxkeychain
  </code></pre>
  <blockquote>
  <p>The next time you clone an HTTPS URL that requires authentication, Git will prompt you for your username and password. When Git prompts you for your password, enter your personal access token (PAT) instead.</p>
  </blockquote>
  <p>Sadly, these instructions seem incorrect. Git keeps using my name and password and doesn't ask for the new Personal Access Token. How can I fix this?</p>