move git-sync logic to GitHelper from BranchSyncCommand