Setting up a local gitignore file

Local Git ignore files are useful for keeping experimental and temporary code out of the main project's history. In this article, I show you how to create and use a local Gitignore file.