code: public static void setGitPath(String path) throws IOException, JavaGitException {
      CheckUtilities.checkStringArgument(path, "path");
      setGitPath(new File(path));
    }
docs: Convenience method for setting the path with a <code>String</code> instead of a
  <code>File</code>.
  
  TODO (rs2705): Enforce the requirement below that the path be absolute. Is there a simple way
  to do this in an OS-independent fashion?
  
  @param path
  Absolute path to git binaries installed on the system. The path must be absolute since
  it needs to persist for the life of the client code, even if the working directory
  changes. Throws a NullPointerException if path is null, or an IllegalArgumentException
  if it's the empty string.
  @throws IOException
  Thrown if the provided path does not exist.
  @throws JavaGitException
  Thrown if we cannot find git at the path provided.