Pergunta de entrevista da empresa Fannie Mae

What is the difference between merge and rebase? Which do you recommend?