Summary and Schedule
This is a new lesson built with The Carpentries Workbench.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Automated Version Control | What is version control and why should I use it? |
Duration: 00h 05m | 2. Setting Up Git | How do I get set up to use Git? |
Duration: 00h 15m | 3. Creating a Repository | Where does Git store information? |
Duration: 00h 30m | 4. Tracking Changes |
How do I record changes in Git? How do I check the status of my version control repository? How do I record notes about what changes I made and why? |
Duration: 00h 55m | 5. Exploring History |
How can I identify old versions of files? How do I review my changes? How can I recover old versions of files? |
Duration: 01h 20m | 6. Ignoring Things | How can I tell Git to ignore files I don’t want to track? |
Duration: 01h 30m | 7. Remotes in GitHub | How do I share my changes with others on the web? |
Duration: 02h 15m | 8. Collaborative Version Control - Centralized | How can I use version control to collaborate with internal collaborators? |
Duration: 04h 15m | 9. Collaborative Version Control - Distributed | How can I use version control to collaborate with external collaborators? |
Duration: 05h 25m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Prerequisite
In this lesson we use Git from the Unix Shell. Some previous experience with the shell is expected, but isn’t mandatory.
Computer
Participants must work on a computer with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) on which they have administrative privileges.
Software Setup
To participate in this workshop, you will need to prepare the following (if you haven’t already):
Setup GitHub
You will need an account for GitHub to follow episodes 7, 8, 9 in this lesson.
- To sign up for an account, navigate to https://github.com/ and follow the prompts.
- Verify your email address.
- Configure GitHub authentication.
You must authenticate before you can access certain resources on GitHub. Each way of accessing GitHub supports different authentication method. For example, you can authenticate with GitHub via the command line using Secure Shell Protocol (SSH) or you can authenticate with GitHub via browser using two-factor authentication (2FA). In our lesson we shall use both.
About passphrases for SSH keys
With SSH keys, if someone gains access to your computer, the attacker can gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key, however it will require to enter passphrase every time. It is possible to avoid entering the passphrase every time you connect by means of securely saving your passphrase in the SSH agent. We recommend not dealing with passphrases in the scope of this lesson.
Refer to the GitHub documentation for more details about authentication.
Confirm that everything works
You should now be able to open a terminal window and execute the following commands:
Github access & SSH connection
which will return:
Hi [username]! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
If something does not work
Follow the corresponding setup instructions. If you still need help, send us an email.