Assume I clone a repository OSS at version 1.0 containing a class A. Subclassing A is not enough for me, so I copy A to A' and make some modifications to it. At a later point in time, I clone OSS at version 1.1, containing an updated version of A. How can I merge the changes/updates from A to my modified copy A'? Is there a standard pattern for such cases?