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