“Today we are announcing a breakthrough: we have secured a license from the US government to offer GitHub to developers in Iran.”
In 2019 GitHub cut off developers in Iran to comply with sanctions. It took a lengthy fight with the Treasury to undo it. GitHub deserves credit for fighting. The lesson stands anyway. Your code is hosted at the pleasure of OFAC.