git update another branch

C++
git checkout feature1
git merge develop
git fetch origin master:mastergit stash

Source

Also in C++: