Use github with Personal access tokens from Android Studio

I got an error accessing github from Android Studio

It seems that github disabled the usage of user/pw authentication.

To fix it you have to

Now you can use the token from within Android Studio or any JetBrains IntelliJ based IDE.