Undo branches switching example