Rebasing is the process of moving or combining a sequence of commits to a new base commit.
Syntax git rebase <branch-name>
Bash
Here, master branch is used as the base branch.