pub fn set_config(key: &str, value: &str, repo: Option<&Path>) -> Result<()>
Set a git config value (local scope).