I\'m trying to set up Git on a fresh machine, and I\'m having trouble authenticating with my remote repository.
I have limited experience with Git, but I have succes
With GitHub, you get this message if you are using 2-factor authentication and https Git.
The solution is to create a personal access token which you use in place of your password.
See https://github.com/blog/1614-two-factor-authentication