My Great Grandfather was also in the Confederate army but he died before I was born. I do have a tint type(actually a photo off of a tint type)of him in his uniform but don’t know, due to family failing to pass on knowledge, what outfit or what battles he fought in. He did live through the war and moved from his home state to Arkansas after the war. He changed his name, I don’t know what his original name was, because of something that happened during the war. No one seemed to know why but I always thought it might be because he was not a regular but a guerilla, maybe with bloody Bill or Quantrill. That could also explain the lack of information on battles fought and units he belonged to. The family, what there is of it, still carries the name he changed it to.
This was more common than you probably think. I've heard similar stories quite frequently. One line of my family ended up with a different spelling of their name due to a spelling error by the military during WWI. They never changed it back to the original.
One of my gg grandfather's ended up as guerilla in Northern Arkansas. He had originally enlisted with the Confederacy in Missouri. His family was literally run out of town b/c of their Confederate leanings. The family relocated to Northern Arkansas where they found another hell on earth. He ended up leaving his unit to protect his family and since guerillas were sanctioned by Major General Hindman in Arkansas, he became a guerilla. Jefferson Davis didn't care for guerilla warfare, but did approve the formation of Partisan Rangers in 1862. My gg grandfather went from being classified as a deserter to being classified as a guerilla then to Partisan Ranger.