git rebase replays a series of commits from one branch onto another, effectively aligning the branch with a new base while rewriting commit history to make it linear. For example, git rebase main on a feature branch moves the feature onto main and reapplies its commits on top of the latest changes in main. In contrast, git cherry-pick applies specific commits (identified by their hash) from one branch to another without altering history. While rebase is used for integrating and aligning branches, cherry-pick is ideal for selectively copying individual commits.