One of the 100 questions in this topic
How much do you know about Git and Version Control?A rebase in Git is an operation that changes the base of a branch by moving its commits onto another base, typically the type of another branch. Unlike merge, which creates a new commit with two parents, rebase rewrites history by replaying each commit on the new base.