Yes, making daily on-premise backups would mitigate the risk of losing source code.
That applies to everyone, not just Iranian developers: setup daily backups of all your code.
That applies to everyone, not just Iranian developers: setup daily backups of all your code.
Proper backups of all repos are an answer, of course.