I have the following problem when I try to pull code using git Bash on Windows:
fatal: could not read Username for \'https://github.com\': No such file or dir
I found my answer here:
edit ~/.gitconfig and add the following:
~/.gitconfig
[url "git@github.com:"] insteadOf = https://github.com/
Although it solves a different problem, the error code is the same...