code: def _get_github(self):
          
          from github import Github
          vms("Querying github with user '{}'.".format(self.username))
          g = Github(self.username, self.apikey)
          self._user = g.get_user()
          if self._user is None:
              raise ValueError("Can't authenticate to github with '{}'.".format(self.username))
          #The github user authenticating always has to be specified; however the user
          #may not be able to see the repo, even if it has access to it. We may need
          #to check the organization repos.
          if self.organization is not None:
              self._org = g.get_organization(self.organization)
              vms("Found github organization '{}'.".format(self._org.name), 2)
  
              #Next we need to find this repository in the lists available to both
              #the user *and* the organization. If they specified an organization, then we
              #should check that first/exclusively.
              for repo in self._org.get_repos():
                  if repo.full_name.lower() == self.name.lower():
                      self._repo = repo
                      vms("Found organization repository '{}'.".format(self._repo.full_name), 2)
                      break
          else:
              for repo in self._user.get_repos():
                  if repo.full_name.lower() == self.name.lower():
                      self._repo = repo
                      vms("Found user repository '{}'.".format(self._repo.full_name), 2)
                      break
docs: Creates an instance of github.Github to interact with the repos via the 
          API interface in pygithub.