Using github tokens with https

As of August 13, 2021 it is no longer possible to use account passwords for authentification, so if for some reason you are unable to use ssh, you will need to use an acces token.

Create a token

To create a token go to your github profile, and in Settings > Developer settings > Personal access tokens you can create your personal token.

Using a token

To use a token for authentification, you need to clone your repositorie in the following way.

git clone https://<MY_USERNAME>:<MY_TOKEN>@github.com/<REPO_OWNER_USERNAME>/<REPO>

Using this method you will be able to push and pull with https without writing your password or username.