Every iterator must have this struct as its first element, so the API can talk to it. You'd define your iterator as
struct my_iterator { git_config_iterator parent; ... }
and assign iter->parent.backend to your git_config_backend.
iter->parent.backend
git_config_backend