2021年8月13日からパスワード認証でgit pushできなくなった。
個人アクセストークンを使用するの手順に従ってトークンを発行し、パスワード入力部分にトークンを入力することでgit pushできるようになった。
エラー内容詳細
# git push -u origin master Username for 'https://github.com': xxx Password for 'https://xxx@github.com': 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. fatal: unable to access 'https://github.com/..../test.git/': The requested URL returned error: 403