Switch repository to another existing branch.