diff_branches: improve the generated title

Change-Id: I467ba9f1902d3ce25bf520cec87a7a60f070ff5e