Merge pull request #1368 from scunz/inc_ref Increment reference counter in git_repository_set_config