pre-commit hook can also be used as an inverse post-commit hook now.
Can be used as post-merge hook as well now.
Generic name as only one filter is actually needed.
Added install script that adds hooks to superproject, even when the
superproject itself is a submodule.