This sounds like a sensible requirement but I don’t think we have that option available out of the box. From what I can tell, the commit is (still) implemented as an SWP element teamwork:CommitTagService and could be overloaded with ui:overrides. In that override you could inject your own ADS script calls, including
IO.git.commit(...)
Note we don’t recommend using SWP overrides and we actually have a ticket to replace the commit implementation to no longer require SWP. However, this is the only solution that I can think of right now for your use case.
Maybe we need to add a new kind of rule/extension point for this scenario. I have recorded this to our dev ticket for future consideration.
Holger