rename git_config_from_buf to git_config_from_mem