git execute command after each pushed commit code example Example: git hooks chmod +x prepare-commit-msg