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