This is a file used to ignore files and directories/folders that you do not want to include in the git repository.
Files or directories listed in .gitgnore are not tracked by git, however the .gitignore file is tracked.
This file is named as .gitignore and is best placed in the root directory of the repository.