Git sync fork

@kevgo please review
Okay, let's wait for the actual need for this then.