workingDirectory property
Directory to run git in.
Defaults to the process working directory, which is where Git invokes a hook from. Tests set it explicitly so they do not have to mutate process-wide state that concurrent suites share.
Implementation
final String? workingDirectory;