git remote clone branch code example Example: clone a branch git clone --single-branch --branch <branchname> <remote-repo>