According to one biography I read, Einstein didn't learn much from his university courses in Electromagnetism. Presumably this was simply because he was already looking through the works of Maxwell, Hertz and so on. Also, according to Freeman Dyson, mainstream physics didn't really take to Maxwell Equations - no matter how they are lauded today. There was a lapse of at least two decades before they really began to be appreciated. And presumably this would have shown in the curriculum.
This is understandable in a way. Maxwell notation is not as compact as we have today. When he wrote down his equations there twenty of them. It took the efforts of Heaviside and Gibbs to reduce them to the four vector equations we have now, plus the Lorentz force equation. Nowadays, using the Cartan formalism, aka differential forms, Maxwell equation has been reduced to a single equation (this doesn't include the Lorentz force law)! This might seem like a marvel of compactness, but here all the complications have been hidden away in the formalism (one has to learn about manifolds, bundles and so on).
One thing that he would have learnt from Hertz which I only learnt of recently, and which isn't emphasised enough, is that Hertz held it to be a defect of Newtonian physics that there were two basic notions - inertia and force. For philosophical reasons he wanted a force less mechanics and to that end introduced additional variables which refer to 'hidden' dimensions of space.
This is obviously interesting in two ways. The first, a forceless gravity, is what GR is. Hidden dimensions of space manifesting themselves as force is exactly what Kaluza-Klein showed. In fact, the latter notion goes back to Riemann, who spoke of the possibility of metrical change, not in the large as one might expect - but in the small, that is the infinitesimal.