Consolidate branches