This solution from this post does not work How to provide username and password when run "git clone git@remote.git"?
git clone https://username:password@github.com/username/repository.git
fatal: unable to access 'http:/..: Could not resolve host: username