Github doesn't support cloning with username password.

With personal access token (PAT):

git clone https://<PAT>@github.com/path/repo.git