I'm slightly confused by the premise. Why do you need to 'fetch' .gitignore files?
Do you not simply add the files you wish to ignore, to the file in your project?
Do you not simply add the files you wish to ignore, to the file in your project?
edit : The .gitignore files that are served are from https://github.com/github/gitignore