what3words interview question

What does rebase command do in Git?