Create and switch to a new branch with correct tracking information.