The cynic in me also thought this right away. Github is an American company, subject to American data request orders. Iran would be better off not using github for private repos.
Absolutely. The state department only relaxes a "maximum pressure" regime if they think there's some way to spy or sabotage their stated enemies. However, this could still be a good thing for the Iranian people if for no other reason that they can download free and open source software.