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 {{[-n|--no-checkout]}} {{remote_repository_location}}

git clone {{[-l|--local]]} {{path/to/local/repository}}

git clone {{[-q|--quiet]}} {{remote_repository_location}}

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

git clone {{[-b|--branch]}} {{name}} --single-branch {{remote_repository_location}}

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