they got in your PR because someone force-pushed to the master branch, don't worry about it.

Anyways, with those remotes, it is like this:

```bash
git fetch upstream
git checkout upstream/master -f -B fix/ng-resource-instance-constructor
curl https://github.com/jvandemo/angular.js/commit/b9d2dd17c3c7d03b0f0645bdd4b7365eb45adfc5.patch | git am
git push origin fix/ng-resource-instance-constructor -f
```