Steve --
The most reasonable place to look for that kind of information would be the soldier's military service file. If a company roll exists for July-August 1863 and he's marked present for duty or a casualty during the Gettysburg Campaign, you've got your answer.
You can order service file copies here.