Managing .gitignore Patterns
Description
Learn to properly configure .gitignore to exclude files you don't want to track, and how to handle files that were accidentally committed.
Theory Questions
1. What is the purpose of the .gitignore file?
2. If you've already committed a file that should be ignored, which command removes it from Git tracking but keeps it locally?
3. What does the pattern '*.log' in .gitignore do?