First pull the merge request to a new branch
git fetch REMOTE merge-requests/MERGE_REQUEST_ID/head:BRANCH_NAME
Real git fetch origin merge-requests/1/head:add_some_feature example: git fetch origin merge-requests/1/head:add_some_feature
Then check
git checkout BRANCH_NAME
The above example would look like this: git checkout add_some_feature
Now check out the new branch.
Important point : BRANCH_NAME is a branch of the merge request source. This is not a target branch.
source share