I follow the generic OSS structure:
You can use any of below options to update the PR in local repo.
As you use the commands to get the source branch of the PR locally:
git fetch upstream pull//head:
git checkout
If the PR is updated (new commits are pushed to the fork repo), you can delete and recreate by:
git checkout master
git branch -D
git fetch upstream pull//head:
git checkout
You can add the fork repo as a remote for your local repo by
git remote add fork1 -f
Then you can create a local branch for the PR source branch by
git checkout -b fork1/
If the PR has been updated, you just need to execute below commands to get the update:
git fetch fork1
git checkout #If HEAD is not on the
git reset --hard fork1/