Try this:
On GitHub:
- Log in -> Click on your avatar in the top right hand corner
- Choose Settings -> Developer settings -> Personal access tokens
- Click on the “Generate new token” button
- Add a note if you want, like “Android Studio”
- Select repo(all), read:org (under admin:org), gist, workflow
- Click on the “Generate token” button
- Copy the token
On Android Studio:
- Go to File -> Settings -> Version Control -> GitHub -> Add an account
- Click on the “Use Token” hyperlink, like in your screenshot
- Paste your token, click login, click ok
