<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def gitignore_templates(self):
 """Returns the list of available templates. :returns: list of template names """

        url = self._build_url('gitignore', 'templates')
        return self._json(self._get(url), 200) or []