pub fn get_hooks_dir() -> Result<PathBuf>
Returns an error if the git repository cannot be found or hooks directory cannot be determined.