Add .githook configuration file

.githook configured to use community hooks, which allow community to
share common used hooks
Explain how to use contrib hooks
feat: add git-hooks auto install script