Support pre-commit install inside a worktree
#809
Merged
pre-commit install inside a worktree
#809