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
Replace your remote url like this:
git remote set-url origin https://@github.com//.git