git fetch origin pull/1234/head:pr-1234 Here: 1234 is the PR number. pr-1234 is your local branch name.