Understanding Untracked vs Tracked Files in Git
📖 Scenario: You are working on a new project using Git for version control. You want to understand which files Git is tracking and which files are new and untracked.
🎯 Goal: Learn how to identify untracked and tracked files in a Git repository using basic Git commands.
📋 What You'll Learn
Create a new Git repository
Create a new file and check its status
Add the file to Git tracking
Check the status again to see the difference
💡 Why This Matters
🌍 Real World
When working on software projects, developers need to know which files are new and not yet tracked by Git to avoid losing work or committing unwanted files.
💼 Career
Understanding tracked vs untracked files is essential for any developer or DevOps engineer to manage code changes safely and collaborate effectively.
Progress0 / 4 steps