Basic authentication using a password to GitHub is deprecated and will soon no longer work. Visit Token authentication requirements for Git operations - The GitHub Blog for more information around suggested workarounds and removal dates.
This is a really interesting development in our industry, thanks for sharing it here Herbert!
Key paragraph from that article / tl;dr:
Beginning August 13, 2021, [GitHub] will no longer accept account passwords when authenticating Git operations and will require the use of token-based authentication, such as a personal access token (for developers) or an OAuth or GitHub App installation token (for integrators) for all authenticated Git operations on GitHub.com. You may also continue using SSH keys where you prefer.
- Today – If you are using passwords to authenticate Git operations with GitHub.com today, you will soon receive an email urging you to update your authentication method or third-party client.
- June 30 and July 28, 2021 – Token (or SSH key) authentication will be temporarily required for all Git operations to encourage affected customers to update their authentication method (see below).
- August 13, 2021 – Token (or SSH key) authentication will be required for all authenticated Git operations.