Git cherry-pick is a powerful command that enables arbitrary Git commits to be picked by reference and appended to the current working HEAD. Cherry-picking is the act of picking a commit from a branch and applying it to another. git cherry-pick can be useful for undoing changes.
$ git checkout master
$ git cherry-pick <commit-hash>