Runs git command and throws an error if it fails. Use this for commands that make changes to the filesystem.
The caller is responsible for validating the input. shell will always be set to false.
shell
Optional
Runs git command and throws an error if it fails. Use this for commands that make changes to the filesystem.
The caller is responsible for validating the input.
shell
will always be set to false.