You will need a token to create repositories or commit changes.
Treat tokens like passwords!
- Navigate to https://github.com/settings/tokens/new.
- Put name that clearly explains why you need this token.
- Select public_repo scope, depending which repos you want to edit from here.
- Click generate token, copy it, and paste it in the MakeCode dialog.
For private repositories, select the repo scope.