Reports have emerged that popular collaboration platform GitHub has become banning developers in countries affected by US trade sanctions, including a widespread crackdown on users from Iran.