code: public GitCheckoutResponse checkout(File repositoryPath) throws JavaGitException, IOException {
          GitCheckoutOptions options = null;
          return checkout(repositoryPath, options, null);
      }
docs: Git checkout without any options and branch information provided. Just a basic checkout
  command.