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