How to upgrade to latest DSP version

There is no upgrade path from 1.9 to 2.0
If you’re just trying to upgrade a 2.0 instance to the latest code revision, use the instructions on the 2.0 documentation here: https://wiki.dreamfactory.com/DreamFactory/Installation#Windows

When you run git stash what fails?