pub fn hooks_path(cwd: &Path) -> Result<Option<String>, GitError>
The repository-local core.hooksPath, if set.
core.hooksPath