You get a degree. You can prove that you got the degree from an accredited university, if that university is providing some cryptographic form of that degree, without revealing the name of that university.
This only works if multiple universities sign on to a ZKP scheme, because (obviously) if only a single university did this you would know which university it was.