Git · Junior · Question 74 of 75

What is the difference between tracked and untracked files?

Explanation

New files are untracked until you git add them; Git doesn't include them in commits. Ignored files are a separate category: untracked files that git status doesn't even show.

Further reading

Problem with a question

Git · Junior · question 74

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz