this one was more or less working (from StHub to git):
of course is incomplete (it lacks the git parts, etc.)
but I still didn’t have time to finish it, so feel free to improve it.
My idea with it is to add a hook (I added hooks to sthub a couple of months ago) to a jenkins job that can execute the script.
And I have one that does the opposite (from github to sthub):
cheers,
Esteban