Why does this take a `git_repository` instead of a `GTRepository`?