code: def gitignore_templates(self):
          
          url = self._build_url('gitignore', 'templates')
          return self._json(self._get(url), 200) or []
docs: Returns the list of available templates.
  
          :returns: list of template names