When Kurt Luther walked into Pittsburgh’s Heinz History Center in 2013 to attend an exhibition about Pennsylvania during the Civil War, he didn’t expect to be greeted by his great-great-great-uncle. A computer scientist and Civil War enthusiast, Luther had been drawn to researching his own family’s connection to the conflict, gradually piecing together information over years and years. But his searches had always failed to turn up a photograph, and Luther was ready to give up on the possibility of ever seeing his ancestors’ faces. It was only through sheer happenstance that, walking through the History Center that day, Luther...