remove global git precommit hooks code example Example: how to remove git hooks rm -f my_project/.git/hooks/pre_commit