Add hook to check whether commit to branch master pre-commit