To stash untracked files, you can use the following command: git stash save --include-untracked This command stashes both the tracked and untracked files, allowing you to save all your changes.