VideoVerse interview question

How to use rebase in git?