clone github and move to branch code example Example: clone a given branch github git clone --single-branch --branch <branch> <repository>