Forums

Github Authentication failed

Good day. I am beginner in pythonanyhwere. What must I do with this problem?

23:17 ~ $ Clone GitHub repo
bash: Clone: command not found
23:17 ~ $ git clone https://github.com/username/deploy_on_pythonanywhere.git
Cloning into 'deploy_on_pythonanywhere'...
Username for 'https://github.com': username
Password for 'https://username@github.com': 
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cl
oning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/username/deploy_on_pythonanywhere.git/'

As the message in the output says:

Support for password authentication was removed on August 13, 2021.

See https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories for more deatils.