javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitStatus.java
public GitStatusResponse status(File repositoryPath, GitStatusOptions options, List<File> paths)
      throws JavaGitException, IOException {
    CheckUtilities.checkFileValidity(repositoryPath);
    IClient client = ClientManager.getInstance().getPreferredClient();
    IGitStatus gitStatus = client.getGitStatusInstance();
    return gitStatus.status(repositoryPath, options, paths);
  }
public GitStatusResponse status(File repositoryPath, GitStatusOptions options, List<File> paths)
      throws JavaGitException, IOException {
    CheckUtilities.checkFileValidity(repositoryPath);
    IClient client = ClientManager.getInstance().getPreferredClient();
    IGitStatus gitStatus = client.getGitStatusInstance();
    return gitStatus.status(repositoryPath, options, paths);
  }
It returns a <code>GitStatusResponse</code> object that contains all the details of the
output of &lt;git-status&gt; command.

@param repositoryPath
Directory pointing to the root of the repository.
@param options
Options that are passed to &lt;git-status&gt; command.
@param paths
List of paths or patterns
@return <code>GitStatusResponse</code> object
@throws JavaGitException
Exception thrown if the repositoryPath is null or if options or paths are invalid.
@throws IOException
Exception is thrown if any of the IO operations fail.