Question: what is the difference between merge and rebase in git?
Answer: git — Rebase vs Merge. Rebasing and merging are both designed to integrate changes from one branch into another branch but in different ways. When you do rebase a feature branch onto master, you move the base of the feature branch to master branch's ending point. ... Merging adds a new commit to your history.