pre-branch sync