code: public static void cleanup(String repoPath) throws GitAPIException, IOException {
          openRepository(new File(repoPath)).gc().call();
      }
docs: Executes a git gc.
  @param repoPath full path of the repository
  @throws GitAPIException if there is an error running the command
  @throws IOException if there is an error opening the repository