title: How to push to own github gist with password, without TFA?
body: <p>So, I've tried setting up a gist under my own username on github:</p>
  
  <ul>
  <li><a href="https://gist.github.com/sdaau/771e0ca9b9f1fa17464373266400386f" rel="nofollow noreferrer">https://gist.github.com/sdaau/771e0ca9b9f1fa17464373266400386f</a></li>
  </ul>
  
  <p>... and I'm trying to clone, edit and push to this gist. I do not have 2-factor authentication (2FA) enabled in Your Profile/Edit Profile/Security (github.com/settings/security).</p>
  
  <p>I would like to clone this repo, so when I push, I authenticate with my GitHub password, and not with a <a href="https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/" rel="nofollow noreferrer">personal access token</a>; and also I would like to avoid creating public keys for SSH access.</p>
  
  <p>This is what I can observe so far:</p>
  
  <pre><code>cd /tmp/
  $ git clone https://sdaau@gist.github.com/771e0ca9b9f1fa17464373266400386f.git yet_another_git_tute_gist
  Cloning into 'yet_another_git_tute_gist'...
  remote: Counting objects: 3, done.
  remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
  Unpacking objects: 100% (3/3), done.
  Checking connectivity... done.
  </code></pre>
  
  <p>So, when cloning, even if I have my username specified in the HTTPS url, I'm not being asked for a password, the repository just gets cloned. This is an example of changes before push:</p>
  
  <pre><code>cd yet_another_git_tute_gist/
  
  git config user.name sdaau
  git config user.email sdaau@whatever
  
  echo &gt;&gt; README.md  # just add empty line
  git add README.md
  git commit -m 'testing'
  # [master 0f958d5] testing
  # 1 file changed, 1 insertion(+)
  </code></pre>
  
  <p>... and this is the push:</p>
  
  <pre><code>$ git push --all
  Password for 'https://sdaau@gist.github.com': 
  remote: Invalid username or password.
  fatal: Authentication failed for 'https://sdaau@gist.github.com/771e0ca9b9f1fa17464373266400386f.git/'
  </code></pre>
  
  <p>Would anyone know what am I doing wrong?</p>