Add default git hooks

This is a set of global, reusable git hooks that can be added to any git
project
remove newline from snippets