example git commit hook

fixes #9