Improvements to the Git hooks

By einar

- Comments