The "index" holds a snapshot of the content of the working tree, and it is this snapshot that is taken as the contents of the next commit.