If you're concerned about Microsoft taking over Github for even irrelevant reasons:
Take this opportunity to migrate your repos to git-ssb or git-ipfs, instead of moving to another temporary host-tied third party thing like gitlab or bitbucket.
Your commits are already identified by hashes, so why not switch to hashes entirely & use an NDN/DHT system?