X-ray spectroscopy of Be- to He-like germanium