Skip to content

vibbits/introduction-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Git & GitHub

About this course

This workshop will take you through the basics and a little more on how to use Git and GitHub. Tighten your sitbelts to enjoying some time-travel analogy to understand how Git works, how you can connect it to GitHub and how this will help you with your version control. Git is a free and open source distributed version-control system designed to maintain code, track changes, recover old versions and collaborate with other developers.

Material license

CC-BY

Contributors

ORCID Alexander Botxki ORCID Bruna Piereck

ORCID James Collier ORCID Tuur Muyldermans

Get ready for the course

1. BEFORE THE COURSE

If you don’t have experience with command line it is essential that you follow a quick course since this skills are very important to be able to use git and GitHub.

To not get lost during the course start the crash course Introduction to Linux command line on VIB e-learnign system.

2. GET YOUR COMPUTER READY

For this course we are going to use some tools, some are mandatory some are sugestions that we believe can possibly make your experience better and the didatics more simple. You can find the detailes instructions for any operating system* in our Get Ready chapter.

Summary of what you might need:

  • WSL with GitBash (for windowns users)
  • Git installed in your terminal (MAC & Linux)
  • MarkText (Editor Sugestion - MarkDown)
  • Ungit (Visualization tool - NOT mandatory)

Program

Day 1

Time Session
9h30 Configurations & Introduction
11h00 Coffee break
11h15 Routine usage part 1 (status-stage-commit)
13h00 Lunch
14h00 History & Comparing Versions
14h40 Coffee break
14h55 From Git to GitHub
17h00 End of the day

Day 2

Time Session
9h30 Collaborating in GitHub
11h00 Coffee break
11h15 Experimenting Risk Free: Working with Branchs
13h00 Lunch
14h00 Solving Conflicts and changing old versions
14h40 Coffee break
14h55 Tagging & Forking
17h00 End of the day

Learning Outcomes

  1. Enumerate the primary purpose and advantages of Git in version control. [Knowledge]

  2. Identify and name the difference between Git and GitHub. [Knowledge]

  3. Explain the differences between branches and forks and their use cases. [Knowledge]

  4. Describe and Distinguish between the development area, staging area, local and remote repositories. [Knowledge and Comprehension]

  5. Explain the importance of commit messages and their role in tracking changes. [Comprehension]

  6. Discuss the significance of staging changes before committing it. [Comprehension]

  7. Apply the key steps in Git routine, including staging, committing changes to update the working tree. [Application]

  8. Illustrate the purpose and use of branches in Git for testing new features and collaborations. [Comprehension and Application]

  9. Use the Git commands to share changes from local to remote repository and vice versa. [Application]

  10. Create a new repository on GitHub, clone it locally, make edits, and push changes back to GitHub. [Application]

  11. Be able to clone a GitHub repository locally and perform edits. [Application]

  12. Evaluate the impact of well-crafted commit messages on project documentation and collaboration. [Analysis]

  13. Analyse the benefits and challenges of using branches in Git for project development. [Analysis]

  14. To use commands to check the status and unique ID's of content modificaitons. [Application]

Complementary reading (Tutorials)

Check some chapters with complementary reading. You will review what you saw in the course and get some extra tips and information, such as using Rstudio on GitHub.