Added a Method to Switch Branches