This mod hooks itself to built in save system and executes following commands:
git add <world name> for each loaded worldgit commit -m "<current datetime>"git pushall - it is custom command, yo need to define itGenerally minecraft runs auto save every 5 minutes (save-on to enable), you may force save by executing save-all or simply stop server.
git initgit pushall, see this on how to set up it