Save the local modifications to a new stash.
Object id of the commit containing the stashed state. This commit is also the target of the direct reference refs/stash.
Optional description along with the stashed state.
Flags to control the stashing process. (see GIT_STASH_* above)
0 on success, GIT_ENOTFOUND where there's nothing to stash, or error code.