Git · Junior · Question 2 of 75

What are the three main areas a file moves through in Git?

Explanation

You edit files in the working tree, choose what goes into the next commit with git add (the index), and git commit stores that snapshot in the repository.

Further reading

Problem with a question

Git · Junior · question 2

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