Save the local modifications to a new stash, with options.
Object id of the commit containing the stashed state. This commit is also the target of the direct reference refs/stash.
0 on success, GIT_ENOTFOUND where there's nothing to stash, or error code.