git stash
git checkout develop
git pull
git checkout feature/myfeature
Now you can decide between running:
git merge develop
git rebase develop
The difference between merge and rebase is that merge keeps all commits history from your branch, and that is important if your partial commits have a lot of content that can be interesting to keep.
The rebase option is obligatory in some teams.
git checkout feature1
git merge develop
git fetch origin master:master
git checkout -b newbranchname