Find the merge and pull request a commit came from, also finding straight cherry-picks.
gem install git-whence
or as standalone binary (needs any ruby)
curl -sL https://github.com/grosser/git-whence/releases/download/v0.2.1/git-autobisect > /usr/local/bin/git-whence && \ chmod +x /usr/local/bin/git-whence && \ git-whence --version
git-whence 6d37485 Merge pull request #10486 from foo/bar git-whence 6d37485 -o -> open browser on github pull request page