git cherry-pick applies a specific commit from one branch onto another — copying just that commit's changes, without merging the whole branch. It's useful for selectively applying particular changes, like backporting a fix.
How cherry-pick works
# apply a specific commit from another branch onto the current branch
git cherry-pick <commit-hash>
# → creates a NEW commit on the current branch with that commit's changes
git cherry-pick <commit1> <commit2>
git cherry-pick A..B
