Pergunta de entrevista da empresa Wiley

What is the difference between merge and rebase in Git?