How to fix 'Could not restore untracked files from stash' issue Convert a stash to a temporary branch git stash branch STASHTEMPBRANCH Apply your stash git stash apply Delete untracked files & stash remaining files git stash