fn repo_own_hook(name: &str) -> Option<PathBuf>
The repository’s own hook name, if it has one: from the configured hooks directory, else .git/hooks.
name
.git/hooks