javagit/src/main/java/edu/nyu/cs/javagit/client/cli/CliGitClone.java
protected List<String> buildCommand(GitCloneOptions options, URL repository, File directory) {
    List<String> cmd = new ArrayList<String>();

    cmd.add(JavaGitConfiguration.getGitCommand());
    cmd.add("clone");
    return cmd;
  }
protected List<String> buildCommand(GitCloneOptions options, URL repository, File directory) {
    List<String> cmd = new ArrayList<String>();

    cmd.add(JavaGitConfiguration.getGitCommand());
    cmd.add("clone");
    return cmd;
  }
Builds a list of command arguments to pass to <code>ProcessBuilder</code>.
@param options
The options for the git-clone command. If the value is null, a
<code>NullPointerException</code> will be thrown.
@param repository
A <code>URL</code> instance for the repository to be cloned. If null is passed, a
<code>NullPointerException</code> will be thrown.
@param directory
A <code>File</code> instance for the directory where the repository is to be cloned.
If null is passed, a <code>NullPointerException</code> will be thrown.
@return The result of the git clone.