"Germany" was often used as a geographical shorthand for the Empire - from 1512 nominally the "Holy Roman Empire of the German nation" (though the long title was little used) despite its inclusion of territories occupied mostly by non-Geman peoples. "German Empire" seems a less frequent usage, just "the Empire" being a more common short form.