Difficult perhaps, but impossible?! This Linux after all...! :)
I suspect that there is a way to do it with git. I'll have a play when I have time and see. But in the meantime glad you got it working.
thank you for to your attention
More information about text formats