The git workflow
The local repository consists of trees that git maintains, these are
Working Directory
The Working Directory is a single checkout of one version of your project! This is where you will modify your files during your development process, these will be found on your own harddrive.
Index
The Index stores information that will be in your next commit. This tree is also well known as the staging area.
Head
This tree stores all the metadata and object database for your project, it is the most important part of Git. It is what is copied when a repository is cloned!