Summary and Setup

What We Will Try to Do

Begin to understand and use Git and Codeberg. You will not be an expert by the end of the class. You will probably not even feel very comfortable using Git. This is okay. We want to make a start but, as with any skill, using Git takes practice. In this lesson we use Git from the Unix Shell. Some previous experience with the shell is expected, but is not mandatory.

Be Excellent to Each Other

  • If you spot someone in the class who is struggling with something and you think you know how to help, please give them a hand. Try not to do the task for them: instead explain the steps they need to take and what these steps will achieve.

Be Patient With The Instructor and Yourself

  • This is a big group, with different levels of knowledge, different computer systems.
  • This isn’t your instructor’s full-time job (though if someone wants to pay them to play with computers all day they’d probably accept). They will do their best to make this session useful.
  • This is your session. If you feel we are going too fast, then please put up a pink sticky. We can decide as a group what to cover.
Prerequisite

Installing Git


Since several Carpentries lessons rely on Git, please see this section of the workshop template for instructions on installing Git for various operating systems.

Creating a Codeberg Account


You will need an account for Codeberg to follow this lesson.

  1. Go to https://codeberg.org and follow the “Register” link at the top-right of the window.
  2. Follow the instructions to create an account. Your username will be part of the addresses of your repositories and websites (for example https://yourname.codeberg.page/), so choose it with care.
  3. Verify your email address with Codeberg.
  4. We recommend to configure two-factor authentication (see below).

Codeberg is a non-profit platform for free and open content. Please have a look at its Terms of Use before using it for your own projects.

Two-factor Authentication

Codeberg does not require two-factor authentication (2FA), but it is a good idea to enable it for extra security. You can use an authenticator app on your smartphone, like FreeOTP or Aegis, or a hardware security key like a Yubikey. The Codeberg documentation explains how to set it up.