updating/fixing git-sync-upstream script