public void deleteBranch(String name) throws GitException { verifyGitRepository(); try { jGitDelegate.branchDelete().setBranchNames(name).call(); } catch (GitAPIException e) { throw new GitException(Messages.GitAPI_Branch_DeleteErrorMsg(name), e); } }