@Override
    protected void onRead(final DocRef docRef, final GitRepoDoc doc, final boolean readOnly) {
        gitRepoDoc = doc;
        this.getView().setUrl(doc.getUrl());
        this.getView().setUsername(doc.getUsername());
        this.getView().setPassword(doc.getPassword());
        this.getView().setBranch(doc.getBranch());
        this.getView().setPath(doc.getPath());
        this.getView().setAutoPush(doc.isAutoPush());
    }
Local copy of the gitRepoDoc, saved in the onRead() method.
Might be null if onRead() hasn't been called yet.
stroom-core-client/src/main/java/stroom/gitrepo/client/presenter/GitRepoSettingsPresenter.java