OP-1160 use commit.template config instead of a hook.
Added also a _clean target to unset that config

+review OPReview-611