OptionalcwdThe working directory of the Git command.
OptionaldebugA callback for debug messages, such as core.debug in GitHub Actions.
It receives the command before it runs, and the reason when
gitSucceeds() reports a failure.
OptionalenvEnvironment variables for the Git command, merged over process.env.
A variable set to undefined is removed from the environment.
OptionalmaxThe largest amount of data in bytes allowed on standard output or standard error. The command fails if it is exceeded.
Options for running a Git command.