Trouble pushing commits to remote repo

As I’m working on the Periodic Table database project, I can’t push changes to my remote repo on the virtual machine that FCC provides. I created a local repo as the project asks (with git init). Following that, I added a remote repo to my local one with:

  • git remote add fcc <URL to my repo on GitHub>

Trying to push changes to the remote prompts for my username and password. Yet it raises an error. What would be the cause of this and what can be done to remedy it? The link that the message provides is broken.

codeally@4863eb7f3491:~/project/periodic_table$ git remote -v
fcc     <URL to my repo on GitHub> (fetch)
fcc    <URL to my repo on GitHub> (push)

codeally@4863eb7f3491:~/project/periodic_table$ git log --oneline
1ce2dfa (HEAD -> master) Initial commit

codeally@4863eb7f3491:~/project/periodic_table$ git push fcc master
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see for information on currently recommended modes of authentication.
fatal: Authentication failed for <URL to my repo on Github>'