Implementation to have partial git hooks