Synchronizing branches