Visit https://github.com/settings/tokens/new to generate a new "classic" token.
Select the "Repo" checkbox to enable "Full control of private repositories", then click "Generate Token".
Save your resulting personal access token for later use