View the original community article here
Last tested: Feb 18, 2019
You're setting up a new Git connection using HTTPS credentials. You get the following error message:
HTTPS credentials do not have write access. (2 factor auth token required?)
Of course, the first thing to check is that the user associated with the HTTPS credentials really does have write access, and they're using the right credentials. But if they certainly have access and the right creds, the problem might be that 2FA is enabled for that user. If that is the case, follow the instructions in this Community article.