github clone other branch code example Example: clone a given branch github git clone --single-branch --branch <branch> <repository>