code: def refs(self, type='all', **kwargs):
          
          path = '%s/%s/refs' % (self.manager.path, self.get_id())
          data = {'type': type}
          return self.manager.gitlab.http_get(path, query_data=data, **kwargs)
docs: List the references the commit is pushed to.
  
          Args:
              type (str): The scope of references ('branch', 'tag' or 'all')
              **kwargs: Extra options to send to the server (e.g. sudo)
  
          Raises:
              GitlabAuthenticationError: If authentication is not correct
              GitlabGetError: If the references could not be retrieved
  
          Returns:
              list: The references the commit is pushed to.