git clone private repo

C++
git clone https://github.com/foo/repo_name.git new_directory_namegit clone https://strafe:[email protected]/strafe/project.git

Source

Also in C++: