remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
See the screenshot below to go to setting > developer setting > personal access tokens to generate your access token. For max security select a recent expiration date.
You will also select the appropriate permissions, for example will need to select the repos permission to make git push work.