private function absorbVersion()
    {
        if (($type = $this->config->get('current.git_absorb')) === false) {
            return;
        }

        $version = $this->git->extractVersion(
            $this->git->getVersionFromGit($type)
        );

        $config = $this->config->getRoot();

        $config['current']['major'] = (int) $version[1][0];

        $config['current']['minor'] = (int) $version[2][0];

        $config['current']['patch'] = (int) $version[3][0];

        $this->config->update($config);
    }