code: def update(self):
          
  
          try:
              stdout = self.repo.pull().stdout
              logger.info(stdout)
          except:
              logger.info('Pull not working. Remote not defined?')
docs: Pull latest versions/tags, if linked to a remote (e.g., github).