added global hooks for git