I was working with a Git repository hosted on Team Foundation Server over HTTP just fine in MATLAB R2019a; I never had to enter username and/or password. In release R2019b however, MATLAB all of a sudden starts asking for an username and password but then the username and password which I enter is not accepted. After a few tries the operation fails with an error dialog showing:
http://myserver:8090/tfs/DefaultCollection/_git/TestProject: not authorized
Sign in to answer this question.