git clone

Clone an existing repository. More information: https://git-scm.com/docs/git-clone.

git clone {{remote_repository_location}} {{path/to/directory}}

git clone --recursive {{remote_repository_location}}

git clone --no-checkout {{remote_repository_location}}

git clone --local {{path/to/local/repository}}

git clone --quiet {{remote_repository_location}}

git clone --depth {{10}} {{remote_repository_location}}

git clone --branch {{name}} --single-branch {{remote_repository_location}}

git clone --config core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{remote_repository_location}}