Read index capabilities flags.
An existing index object
A combination of GIT_INDEX_CAPABILITY values
See Implementation
Read index capabilities flags.