Updated branch syncing script [ci skip]