On the list of ways to judge the quality of a society, people putting carts back where they belong is up there with using turn signals.
Similar to how when you are working as a programmer, it's good for not to break 'master'. You could rely completely on an honour system, or you could have an automated merge-check. In most places, the merge-check can be arbitrarily easy to bypass, but programmers would still by and large abide it.