I have noticed that many developers do not use a .gitignore file, even though it’s a best practice to use one to designate files you don’t want Git to track in version control. Because .gitignore can boost your code quality, you should not ignore .gitignore in your repositories.
What is .gitignore?
Files in your working Git repository can be:
Powered by WPeMatico