gh_repo_wrapper function

Wrapper function for gh repository calls