what3words Interview Question

What does rebase command do in Git?