First (untested) attempt at migrating p4-git-sync into the final git-p4 script