View the original community article here
Last tested: Feb 18, 2019
The Problem
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?)
The Solution
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.
This content is subject to limited support.