Commit signing isn't really a security thing, at least to prevent anything. All it does is attest how the commit was made, not that it's correct or valid or should be allowed.
Not on its own.
But if you are providing your employees with yubikeys for which you know the public key, and you verify commits signed by the author came from their yubikey's key, it becomes an additional layer of verification that the person allowed to commit was present when the commit was signed.
Not on its own. But if you are providing your employees with yubikeys for which you know the public key, and you verify commits signed by the author came from their yubikey's key, it becomes an additional layer of verification that the person allowed to commit was present when the commit was signed.