...
git checkout develop # be on your develop branch
git rebase upstream/masterdevelop
This should result in your history looking like this:
...
...
git checkout develop # be on your develop branch
git rebase upstream/masterdevelop
This should result in your history looking like this:
...