GitHub/ Authentication failed. git push

Hi,
I’m trying to push my repository to GitHub by git push -u origin main.
It asks me the Username and pass for github.

It returns the following error. WHat should I do?

Username for ‘https://github.com’: matsu-mayu18
Password for ‘https://matsu-mayu18@github.com’:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see About remote repositories - GitHub Docs for information on currently recommended modes of authentication.
fatal: Authentication failed for ‘matsu-mayu18/robot_racetrack · GitHub

Sorry I followed the instruction it resoved.