What is the 'Wayfaring Stranger' song in 1917?

Ever since ‘1917’ hit our screens, it has received wide acclaim, including for the score – but what is the mesmerising song from the woodland scene and what are its origins?