':calls: `GET /gitignore/templates/:name <http://developer.github.com/v3/gitignore>`_
:rtype: :class:`github.GitignoreTemplate.GitignoreTemplate`'

def get_gitignore_template(self, name):

    assert isinstance(name, (str, unicode)), name
    (headers, attributes) = self.__requester.requestJsonAndCheck('GET', ('/gitignore/templates/' + name))
    return GitignoreTemplate.GitignoreTemplate(self.__requester, headers, attributes, completed=True)
