/gitignore/templates
When you create a new GitHub repository via the API, you can specify a .gitignore template to apply to the repository upon creation. The .gitignore Templates API lists and fetches templates from the GitHub .gitignore repository.
List all templates available to pass as an option when creating a repository.
GET
Request