git cherry

Find commits that have yet to be applied upstream. More information: https://git-scm.com/docs/git-cherry.

git cherry -v

git cherry origin topic

git cherry origin topic base