Git directory structure

From: http://rogerdudler.github.io/git-guide/

Displays paths that have differences between the index file and the current HEAD commit

paths that have differences between the working tree and the index file

paths in the working tree that are not tracked by Git (and are not ignored by gitignore)

Git Directory Structure

Search for: Git Directory Structure

A good Summary of Git Terminology


some-root  \your-code
  \your-code
  \.git      \...many many sub directories
      \will be staged here (through indexing)
      \will be committed for various branches

HEAD in the picture above refers to the branch where the current staged files are committed

Keep in mind they are all local (all areas)