Feature: Add UI for branches rebase and merge.
Feature: handle merge and rebase.