I had some uncommitted changes in my development branch and I stashed them using git stash, but there were some changes which were very important among those st
git stash
git stash pop
will get everything back in place
as suggested in the comments, you can use git stash branch newbranch to apply the stash to a new branch, which is the same as running:
git stash branch newbranch
git checkout -b newbranch git stash pop