def hook_path(name, git_dir):
    return os.path.join(git_dir, 'hooks', name)
:return: path to the given named hook in the given git repository directory
dataset/ETHPy150Open gitpython-developers/GitPython/git/index/fun.py/hook_path