git create repository on local machine now push to gitlab code example Example: gitlab clone branch git clone --single-branch --branch <branchname> <remote-repo>