Personal hooks I use for various repos, most are general purpose and can be customized as per usage.
I have commented whereever possible, very new to this sort of things, so if you feel things can be improved or any you have any other suggestion feel free fork and update. :)