how to check clone from another branch in git code example Example: clone a given branch github git clone --single-branch --branch <branch> <repository>