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