Git commit and push module

Hello everyone,

I’m using Ansible not just to provision servers, but also to make backups of the data that is on there.
Part of these backups contain text files that I would like to backup using Git so I can see the differences between versions and can roll back easily to earlier versions.

Although there is a Git module in Ansible, I noticed that it isn’t possible to commit and push data using that module.
It’s simply not made for that. It is just made to get files from Git.

I now use a few commands to see if there are changes and, if there are, to commit and push them to the git server.
But my question is, how can this be done nicely? And are there plans for making or modifying a Git module for Ansible that can do this too?

I’m very interested in the results!

Kind regards