Set a branch.