GitHub admits he made a mistake in firing the Jewish employee who warned colleagues to ‘stay safe’ against Nazis amid riots in Capitol