Gets all files with staged changes (files added to the index). Throws an error on failure by default.
An array of relative file paths that have been staged
Use object params version
Gets all files with staged changes (files added to the index). Throws an error on failure by default.