Get a pointer to one of the entries in the index
The entry is not modifiable and should not be freed. Because the
git_index_entry
struct is a publicly defined struct, you should
be able to make your own permanent copy of the data if necessary.
the position of the entry
a pointer to the entry; NULL if out of bounds