I have forked a branch from a repository in GitHub and committed something specific to me. Now I found the original repository had a good feature which was at HEAD
HEAD
Let's say you want to merge commit e27af03 from branch X to master.
e27af03
git checkout master git cherry-pick e27af03 git push