How China learned about SARS-CoV-2 in the weeks before the global pandemic