Did you know that you can set an upstream branch in emacs magit?
When set, you can see all commits you did compared to upstream and can more easily compare to the upstream with this little function:

(with-eval-after-load 'magit
(transient-append-suffix 'magit-diff "r"
'("u" "Diff upstream..HEAD" (lambda ()
(interactive)
(magit-diff-range (concat (magit-get-upstream-branch) "..HEAD"))))))

Pressing `d u` in magit status basically gives you a GitHub pull request view.
#emacs

Link to docs because I was running out of space: https://docs.magit.vc/magit/The-Two-Remotes.html
The Two Remotes (Magit User Manual)

The Two Remotes (Magit User Manual)