The story
Extension of roger for received in radio traffic (by 1950), the pronoun referring to the last information received; in use by 1969, popularised at first by radio transmissions from NASA's Apollo missions, later in military fiction.
Etymology from Wiktionary, CC BY-SA 4.0.