`githooks` 让 Git 找不到 hook**(你手动 `./githooks/commit-msg` 能跑,但 `git commit` 未必用同一个目录)。
全局改成绝对目录(和「真正共用一套 hook」一致):
mkdir -p /home/username/githooks
cp ~/work/githooks/commit-msg /home/username/githooks/
chmod +x /home/username/githooks/commit-msg
git config --global core.hooksPath /home/username/githooks
