In order to stash untracked files, add the “–include-untracked” option to your “git stash” initial command. Alternatively, you can simply use the “-u” which is equivalent to the untracked longer version.
$ git stash --include-untracked
Saved working directory and index state WIP on branch1: 808b598 Initial commit
$ git stash -u