Github doesn’t support cloning with username password.

With personal access token (PAT):

git clone https://@github.com/path/repo.git