If set my Two-factor authentication
on GitHub, I will encounter this error in Eclipse if still using username + password.

So there is no choice, go to my GitHub, and then Settings
—-Personal access tokens
—-Generate new token
to get my personal access token, when trying to push again, set items as the figure below:
OK, I’m on my way…