Popular platform for hosting, sharing and reviewing code pledges to donate $500,000 to nonprofits supporting immigrant communities