Zebra Technologies interview question

how does Git Rebase work?