One of the 100 questions in this topic
The .gitignore file is used to specify which files or folders Git should ignore.