In the Bash tool’s zsh, git show $b:scripts/x applies the :s modifier to $b and hands git a garbled ref, with no error.
What the guard blocks
The guard blocks an unbraced $name:<letter> that zsh would read as a modifier.
What the replay blocked
A replay of 63,930 historical commands blocked 13, with 0 false positives.