Hi Folks
Git beginner question here: I want to make a copy of a Java file (containing a single class), modify it, test its performance in comparison to the original from another file contining the main project/program class, and then may or may not want to replace the original file with the modified one, or continue to use in parallel (both processing data, or user choosing between them via a GUI button).
Ideally, I would like the 'child' file, which would of course have a different name from the parent, to have the 'parent' history asociated with it up to the point of branching. Then if it ere to replace the parent later, I uppoe that would be a merge. I've Googled a little and am experimenting with a test project, but thought I would ask here to try to get an idea more quickly if this something that is ever done, or even possible. It's not something I want to spend much time on right now, so I would rather drop it if not straightforard.