Add pre commit hook