glock install: add post-checkout hook to catch git pull --rebase