title: Github remote: Invalid username or password. fatal: Authentication failed
body: <p>I have generated a new access token, and I tried to clone a repo but got that error:
  <code>Github remote: Invalid username or password. fatal: Authentication failed</code>
  I tried multiple trials, I set the github token as:
  <code>git config --global github.token mytoken</code>
  and I opened my .gitconfig file to check it and found it correctly:</p>
  <pre><code>[user]
      name = {github user}
      email = {github email}
  [github]
      token = {new token}
      
  [credential]
      helper = store
  [core]
      editor = vim
  </code></pre>
  <p>I even tried <code>git config --global --unset-all user.password </code> and I was expecting that it will ask me for te username and password (in this case, I would add token), but it didn't ask about neither the username nor password, and still when I try cloning I get the same error.</p>
  <p>Is there anything I am missing that would help or something I need to check please?</p>