Github now requires personal token instead of password for git operations

GitHub has shut down password authentication support from August 13, 2021, onwards. As a result, you might not be able to perform any Git operations (pull, push, clone) into your GitHub repo.

 

GitHub now requires personal access token instead of a password. 

How to Get GitHub token?


  1. Log in to your GitHub account.
  2. Go to GitHub settings:
  3. Go to Developer Settings from the leftmost panel:
  4. Go to tab 'Personal access token' and click on 'Generate new token'. 
  5. Get New personal access token from the form provided. Give a 'Name' to denote the token and set its expiry date. Note that the token won't work from the expiration date set. If you do not want the token to expire, choose "Never". Choose the scopes as required. Only 'repo' scope is enough to perform git operations.

  6. Now copy the token. GitHub won't show you the token again.  You may use this token instead of your password which you use to log in to GitHub.

Client's Review