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