how to remove git hooks

C++
rm -f my_project/.git/hooks/pre_commit
Source

Also in C++: