Get the change between index (or staging-area) and working directory of a git
repository
A utility function to index arrays by any criteria
Generates a linearly spaced index array from a subsequence string.
Returns true if two sequences contain the same number of elements and those that share the same index are equal.