The owning repository.
The position within the stash list. 0 points to the most recent stashed state.
Optional options to control how stashes are applied.
0 on success, git_error_code.GIT_ENOTFOUND if there's no stashed state for the given index, or error code. (see git_stash_apply() above for details)
Apply a single stashed state from the stash list and remove it from the list if successful.