Add .githook configuration file

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