Git areas
-
There are 3 areas
-
Working directory: The files the appear in the folder to the user lsStaging area (index): Prepare file to be inserted/extracted to/from git repogit ls-filesGit repository: Where the git objects livefind .git/objects -type f
File tracking statuses

Untracked- New files added to working dir
Modified- Committed file, but there is a newer version
Deleted- Committed file, but it has been removed from working directory
Staged- When a file (untracked or modified) is added to staging area
Unmodified-
Committed file, and there is no newer version. These files are not shown in git status
-
A tracked file (modified, staged or unmodified) can also be untracked again
