Fixed makefile logic to install git hooks for git commit id