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.
Function triggers error if a given index, array, or 'howMany' items request is not valid