No access to GitHub via the console.
GitHub has disabled access via username and password for some time now.
When trying to clone a repository, only an error message appears.
Cloning into 'OrderFormPrototype'... Username for 'https://github.com': andydunkel Password for 'https://andydunkel@github.com': remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
API tokens can now be generated for HTTPS access. This is also described in the GitHub help, but somehow not so well described. Therefore here again with colourful pictures.
We go to “Developer settings” in the settings.
Here we now find the sub-item “Personal access tokens”. We can now generate a new token here. We use a classic token at this point.
We enter names and the rights. We can set the expiry date or not. For normal access, the checkbox next to “repo” is sufficient.
We can then use the token; we now enter the token instead of the password.