Revert "git: Remove server side patch applying code"
Revert "git: Remove server side patch applying code"

This reverts commit b2e8d8a353ce264758d400d2c22d5105e9b54a7a.

The applier depends on server to advise where to push, so these fields
are still useful.

pvital/patchew,pvital/patchew,pvital/patchew,pvital/patchew