javagit/src/main/java/edu/nyu/cs/javagit/client/cli/CliGitAdd.java
public GitAddResponse add(File repositoryPath, File file) throws JavaGitException, IOException {
        List<File> filePaths = new ArrayList<File>();
        filePaths.add(file);
        GitAddOptions options = null;
        return add(repositoryPath, options, filePaths);
    }
public GitAddResponse add(File repositoryPath, File file) throws JavaGitException, IOException {
        List<File> filePaths = new ArrayList<File>();
        filePaths.add(file);
        GitAddOptions options = null;
        return add(repositoryPath, options, filePaths);
    }
Adds one file to the index with no GitAddOptions.