'Return git config data from a path as a dictionary.'

def read_config(self, path):

    if BUILTIN_READER:
        return self._read_config_file(path)
    dest = {}
    args = (u'--null', u'--file', path, u'--list')
    config_lines = self.git.config(*args)[STDOUT].split(u'\x00')
    for line in config_lines:
        if (not line):
            continue
        (k, v) = _config_key_value(line, u'\n')
        self._map[k.lower()] = k
        dest[k] = v
    return dest
