-
Pull merge request to new branch
git fetch origin merge-requests/REQUESTID/head:BRANCHNAMEi.e
git fetch origin merge-requests/10/head:file_upload -
Checkout to newly created branch
git checkout BRANCHNAMEi.e (
git checkout file_upload)
OR with single command
git fetch origin merge-requests/REQUESTID/head:BRANCHNAME && git checkout BRANCHNAME
i.e
git fetch origin merge-requests/18/head:file_upload && git checkout file_upload