A check placed before an action to stop it going wrong. A guard costs nothing when nothing is wrong.
Old French garder (to keep, watch over), from Frankish wardan; a check placed ahead of an action, costing nothing when nothing is wrong.
A check placed before an action, to stop it going wrong: costing nothing at all when nothing is wrong.