Assume the following history of commits, each commit is also a branch.
M - A - B
\
C
I then rebase B on top of C. I will now have
M - A
\
C - A' - B'
My question, is that given commit A, can I "discover" A'? Or given A', can I "discover" A?
To be more specific, I am given a commit hash XYZ, can I get all the commit hashes of all other commits who are the "rebased versions" of it?