Fixed #33: Added checkoutNewBranch helper method.