added git global hook for lastest commit when commit