async function _getConfig({ fs, gitdir, path }) {
  const config = await GitConfigManager.get({ fs, gitdir })
  return config.get(path)
}
@param {Object} args
@param {import('../models/FileSystem.js').FileSystem} args.fs
@param {string} args.gitdir
@param {string} args.path

@returns {Promise<any>} Resolves with the config value

@example
// Read config value
let value = await git.getConfig({
  dir: '$input((/))',
  path: '$input((user.name))'
})
console.log(value)