class GitHubUtil {

    public boolean repoHasBranch(GHRepository repo, String branchName) throws IOException {
        try {
            GHBranch branch = repo.getBranch(branchName);
            return branch != null;
        } catch (GHFileNotFoundException exception) {
            return false;
        }
    }

    public  GitHubUtil(GitHub gitHub);

}