Introduction
Sometimes you want to take a specific change from one branch and add it to another without merging everything. Git cherry-pick lets you copy a single commit from one branch to your current branch.
When you fixed a bug in a feature branch and want to apply just that fix to the main branch without merging all changes.
When you want to add a specific feature or update from another branch without bringing in unrelated commits.
When you accidentally committed a change to the wrong branch and want to move it to the correct one.
When you want to test a single commit from another branch in your current branch before merging.
When you want to backport a fix from the latest version branch to an older release branch.