Morgan Stanley Interview Question

Difference between git rebase and git merge