docs: protected boolean gitCheckBranchExists(final String branchName)
              throws MojoFailureException, CommandLineException {
          CommandResult commandResult = executeGitCommandExitCode("show-ref",
                  "--verify", "--quiet", "refs/heads/" + branchName);
          return commandResult.getExitCode() == SUCCESS_EXIT_CODE;
      }