git hook quality control