private function createNewConfig() : Config
    {
        $globalPath = $this->globalPath ?: getenv('HOME');
        $tokenFile  = sprintf('%s/.keep-a-changelog/token', $globalPath);
        $token = is_readable($tokenFile)
            ? trim(file_get_contents($tokenFile))
            : '';
        return new Config($token);
    }