Linux Magazine has an excellent article, Embracing the Git Index, that demonstrates how git's index is used.