Interactive rebase allows rewriting the local commit history of a branch before sharing it with others. It provides options to edit commit messages, edit or remove commits, change the commit order, or squash commits together. The document demonstrates using interactive rebase to reword a commit message, pick a commit, skip a commit, and squash the last two commits together. Care should be taken not to rewrite published commits that others may have based work on.