I create a new repository (empty) using the GitHub webclient and then add a .gitignore using the Getting Started screen and choose a template. When I commit the file, it creates the .gitignore file inside a .gitignore folder.
reponame/.gitignore/.gitignore
But when I set the gitignore with a template on the "Create a new repository" screen it will be just the .gitignore file in the root folder.
reponame/.gitignore
I'm relatively new to the gitignore concept so I would like to know, is this a bug or a feature I'm not aware of?