Chapter 3
The Index
In Chapter 2 we introduced the index (held in the .git/index file1) and showed the basic steps for adding files to the Git repository. This chapter discusses the index in more detail.
1We shall see this, as many things in these early chapters, a partial truth. The index may be split by Git when dealing with large numbers of filename/objects mappings.