protected function initBranches(VcsDriverInterface $driver)
    {
        foreach ($driver->getBranches() as $branch => $identifier) {
            if (\is_array($this->rootData) && $branch === $driver->getRootIdentifier()) {
                $this->preInitBranchPackage($driver, $this->rootData, $branch, $identifier);

                continue;
            }

            $this->preInitBranchLazyPackage($driver, $branch, $identifier);
        }

        if (!$this->verbose) {
            $this->io->overwrite('', false);
        }
    }