Don’t know if possible to grabe a remote /proc to parse.
Another way should be to deploy a GitRoot instance to the remote and passe execution of job to it.