Github has announced it will begin selecting accounts for the enrolment of two-factor authentication (2FA) this week, with all users being required to use 2FA by the end of the year.