|
2 | 2 | title: Setup |
3 | 3 | --- |
4 | 4 |
|
5 | | -If you haven't done so already, to follow this lesson you will need to: |
| 5 | +## Installing Git |
| 6 | + |
| 7 | +Since several Carpentries lessons rely on Git, please see |
| 8 | +[this section of the workshop template][workshop-setup] for |
| 9 | +instructions on installing Git for various operating systems. |
| 10 | + |
| 11 | +- [Git installation on Windows][workshop-setup] |
| 12 | +- [Git installation on MacOS][workshop-setup] |
| 13 | +- [Git installation on Linux][workshop-setup] |
| 14 | + |
| 15 | +## Creating a GitHub Account |
| 16 | + |
| 17 | +You will need an account for [GitHub](https://github.com) to follow this lesson. |
| 18 | + |
| 19 | +1. Go to <https://github.com> and follow the "Sign up" link at the top-right of the window. |
| 20 | +2. Follow the instructions to create an account. |
| 21 | +3. Verify your email address with GitHub. |
| 22 | +4. Configure multifactor authentication (see below). |
| 23 | + |
| 24 | +### Multi-factor Authentication |
| 25 | + |
| 26 | +In 2023, GitHub introduced a requirement for |
| 27 | +all accounts to have |
| 28 | +[multi-factor authentication (2FA)](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/about-two-factor-authentication) |
| 29 | +configured for extra security. |
| 30 | +Several options exist for setting up 2FA, which are summarised here: |
| 31 | + |
| 32 | +1. If you already use an authenticator app, |
| 33 | + like [Google Authenticator](https://support.google.com/accounts/answer/1066447?hl=en&co=GENIE.Platform%3DiOS&oco=0) |
| 34 | + or [Duo Mobile](https://duo.com/product/multi-factor-authentication-mfa/duo-mobile-app) on your smartphone for example, |
| 35 | + [add GitHub to that app](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-mobile-app). |
| 36 | +2. If you have access to a smartphone but do not already use an authenticator app, install one and |
| 37 | + [add GitHub to the app](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-mobile-app). |
| 38 | +3. If you do not have access to a smartphone or do not want to install an authenticator app, you have two options: |
| 39 | + 1. [set up 2FA via text message](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-text-messages) |
| 40 | + ([list of countries where authentication by SMS is supported](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/countries-where-sms-authentication-is-supported)), or |
| 41 | + 2. [use a hardware security key](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key) |
| 42 | + like [Youbikey](https://www.yubico.com/products/yubikey-5-overview/) |
| 43 | + or the [Google Titan key](https://store.google.com/us/product/titan_security_key?hl=en-US&pli=1). |
| 44 | + |
| 45 | +The GitHub documentation provides [more details about configuring 2FA](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication). |
| 46 | + |
| 47 | +[workshop-setup]: https://carpentries.github.io/workshop-template/install_instructions/#git |
6 | 48 |
|
7 | | -1. Create a free [GitHub account](https://github.com/join) and confirm your email. |
8 | | -2. Download and install Git for your operating system: [https://git-scm.com/downloads](https://git-scm.com/downloads) (*Note:* Git for Windows comes bundled with the Git BASH terminal that allows you to use UNIX-style commands on Windows) |
9 | 49 |
|
10 | 50 |
|
0 commit comments