Get the Index file of a Git repository
a pointer to the Index object; NULL if the index cannot be opened