Editors and other programs you use in your workflow may generate config and backup files that you don’t need to track in version control. Git allows you to ignore such files by adding them to the .gitignore
file.
In this lesson, you’ll learn how to create a .gitignore
file, how to ignore files and directories using it, and what not to add to version control.
Kevin Dienst on Sept. 4, 2019
www.gitignore.io/ This is a useful site to generate your own .gitignore files for common IDEs, operating systems and tool chains. Also this is a helpful one as well from GitHub > github.com/github/gitignore