Git tracked file states

The states of tracked files that we saw in previous lessons have names. A file can have three states: modified, staged, and committed.

A file becomes modified when edits have been made to it but not saved. A file becomes staged when it has been added for inclusion in a commit. A committed state means that the commit has already been saved and included in your repository.

Задание 1

What is the status of the file if when checking the status we were given the following:

textChanges to be committed:
  new file: index.html
Задание 2

What is the status of the file if when checking the status we were given the following:

textChanges to be committed:
  modified: index.html
Задание 3

What is the status of the file if when checking the status we were given the following:

textChanges not staged for commit:
  modified: index.html
Задание 4

What is the status of the file if when checking the status we were given the following:

textnothing to commit, working tree clean