It’s a nice idea, but isn’t it a bit pointless if the law is not being applied?

Is git pointless for code that is not run?