On second though, not sure if clone supports password right now. More recent dulwich does, but we would need to tweak some things to integrate it.

You could try

git init somereponame pathToRepo git remote origin https://yourprivaterepo.com/repo.git git fetch origin -u user:password

I have not tried it, but it seems we at least intended this to work
.