link
git/clone

Clone Repository

Clone a repository into a new directory

git
clone
repository

Command

git clone <repository>

Examples

Clone via HTTPS

git clone https://github.com/user/repo.git

Clone via SSH

git clone git@github.com:user/repo.git

Clone specific branch

git clone --branch develop repo.git