title: Update GitHub authentication to use token on macOS (rather than password)?
body: <p>After <a href="https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token" rel="noreferrer">creating a token</a>, how do you unset the existing password and use the token instead?</p>
  <p>I tried running <a href="https://stackoverflow.com/a/20195558/5783745">osxkeychain command</a> <code> git config --global credential.helper osxkeychain</code> but it doesn't change anything. I also tried <a href="https://stackoverflow.com/a/45703718/5783745">unsetting the user password</a> with <code> git config --global --unset user.password</code>, and I tried opening Keychain Access application and delete GitHub entries, but neither worked.</p>