Add .githook configuration file

.githook configured to use community hooks, which allow community to
share common used hooks
Explain how to use contrib hooks