Pergunta de entrevista da empresa Persistent Systems

Difference between Git revert and rebase?