t/t7503-pre-commit-hook.sh: Add GIT_PREFIX tests