Perhaps the following Stackoverflow issue will help:
Since August 13, 2021, GitHub does not support authentication via HTTPS with your GitHub account password for security reasons anymore. Instead, in Eclipse, when pushing to a GitHub repository or when fetching from a private repository, you will get a
git-upload-pack not permitted on 'https://github.com...'error.