Git pre commit hook

Closes #25