Connecting PyCharm (Python IDE) to GitHub via Token Authentication

  1. Open PyCharm
  2. Click “Settings”, “Version Control” and then “GitHub” menu item
  3. Leave “Host” as default: github.com
  4. Leave “Auth Type” as default: token
  5. Enter your GitHub authentication token in to the input box. For guidance on creating GitHub tokens, please see Link
  6. Click the “Test” button to test the Github authentication channel
  7. For successful authentication connections, a display message will be shown. Click “Ok” to close.
  8. PyCharm will now be authenticated to your GitHub account using your personal access token, and will be ready for version control development for your Python projects.