Now that you are familiar with the basic commands of Git, it’s time to dive deeper into its other features.
Ignoring Files
Not everything in the working directory should be tracked by Git. Certain files (configs, passwords, bad code) are generally left untracked by authors or developers. The files (or directories) to be ignored should be listed in a simple file named .gitignore. Note that the proceeding period in the name is important.