Suppose created pull request develop from forked > develop
And then we can find url such as https://bitbucket.org/zacscoding/pull-req-test/develop
if we hover develop branch on the top. And then
fetch pull request
$ git fetch https://bitbucket.org/zacscoding/pull-req-test develop
From https://bitbucket.org/zacscoding/pull-req-test/branch/develop
* branch HEAD -> FETCH_HEAD
compare
$ git diff develop FETCH_HEAD
checkout
$ git checkout FETCH_HEAD
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at ca906ee README.md edited online with Bitbucket