Fork 3 repo’s into 1 main one

I have a specific problem in git which I havent found an answer to yet. In gitlab I have 3 seperate repos. For my school project the teacher wants me to copy everything into a repo of his and wants to see all my git history.

So I would need to fork my 3 repos into his main repo, but I just couldnt figure out an answer.

How was FORKID used in Bitcoin Cash at the original fork point and in all upgrades since?


It looks to me like at the original fork point, Bitcoin-ABC added an extra value 0x40 called SIGHASH_FORKID that is xor’ed with the standard SIGHASH flags to produce a SIGHASH byte that is incompatible with Bitcoin Core. This provides replay protection for all transactions that are signed with ECDSA pubkeys.


Is the FORKID updated with each “protocol upgrade” for example the recent “Magnetic Anomaly” upgrade? If not, why not?

It looks like the May 2019 upgrade will change the FORKID to 0xFF0001 but the spec mentions “Wallets that follow the upgrade should not have to change anything.” — how is that possible?

Did Bitcoin-SV change its FORKID for its recent hard fork away from Bitcoin-ABC? Is there any replay protection at all between those two chains?