@Override
    public boolean equals(final Object o) {
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final GitRepoDoc that = (GitRepoDoc) o;
        return Objects.equals(description, that.description)
               && Objects.equals(url, that.url)
               && Objects.equals(username, that.username)
               && Objects.equals(password, that.password)
               && Objects.equals(branch, that.branch)
               && Objects.equals(path, that.path)
               && Objects.equals(autoPush, that.autoPush);
    }
@return A new builder for creating a {@link DocRef} for this document's type.
stroom-core-shared/src/main/java/stroom/gitrepo/shared/GitRepoDoc.java