Here are the steps to get Github token:
- In the top-right corner of GitHub, click on your profile picture.
- From the drop-down menu, select 'Settings'.
- In the left sidebar, scroll down and click on 'Developer settings'.
- Under Developer settings, click on 'Personal access tokens'.
- Select 'Tokens'.
- Click the 'Generate new token' button.
- Select either 'Generate new token (classic)' or 'Generate new token (fine-grained)' based on your needs.
- Give your token a note to remember what it's for.
- Scroll down and click 'Generate token'.
- Click the copy icon to copy the token immediately after it is created, as it will only be shown once.