Introduce BranchUpdater to set upstream information on a branch