does `newRepo.getBranch('master').createBranch('gh-pages')` not work?