Introduction to Git & GitHub

research data management
online
basic bioinformatics
ELIXIR
live training

Introduction to Git & GitHub

Target Audience:
All scientists
Location:

Online

General context

This workshop will take you through the basic use of Git and GitHub. 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. 

This course is open to everyone for free, kindly provided to you by ELIXIR Belgium. 

Objectives

Get you started with Git from zero (note that if you already use Git, this workshop will be too basic for you). We'll explore Git on the command-line and its interaction with GitHub. 

  • Introduction, set-up & configurations
  • Working locally: Create a repository, clone, edit, staging commits, commit & push
  • Working with your history & logs
  • Working in a project: Forking, branching & pull requests
  • How to version control your code in Rstudio with GitHub

During the workshop we also briefly discuss how you can setup a collaboration project.  

Event intended for

This course is intended for researchers who are learning or using a programming language (R, Python, ...) and might have an existing project with code or text files that need track of changes. If you intend to make your code collaborative, bonus points for you! Some basic knowledge of the command-line is advised for this course (e.g. this tutorial). 

Program

Introduction & configurations
-
Routine usage (stage-commit-push)
-
Status & history
-
Working with branches
-
Collaborating in GitHub (forks)
-
Ignoring files
-
Version controlling in RStudio
-