Version Control with GitHub feature image Source: National Ecological Observatory Network


Devoted to open data and open source in science and education.

View All Tutorials


R programming (56)
Hierarchical Data Formats (HDF5) (15)
Spatial Data & GIS (22)
LiDAR (10)
Raster Data (14)
Remote Sensing (25)
Data Visualization (4)
Hyperspectral Remote Sensing (18)
Time Series (17)
Phenology (8)
Vector Data (6)
Metadata (1)
Git & GitHub (7)
(1) (1) (14) (1) (1) (1) (1)

Tutorial by R Package

dplyr (9)
ggplot2 (18)
h5py (2)
lubridate (time series) (7)
maps (1)
maptools (1)
plyr (2)
raster (26)
rasterVis (raster time series) (3)
rgdal (GIS) (24)
rgeos (2)
rhdf5 (11)
sp (5)
scales (4)
gridExtra (4)
ggtheme (0)
grid (2)
reshape2 (3)
plotly (5)

View ALL Tutorial Series

Twitter Youtube Github


R Bloggers

Series: Version Control with GitHub

This series teaches why version control is important and how to use a common version control tool, GitHub. GitHub also allows for collaboration within the environment.

Series Goals/Objectives

After completing the series, you will be able to:

  • Git 01: Intro to Git Version Control
    • Explain what version control is and how it can be used.
    • Explain why version control is important.
    • Discuss the basics of how the Git version control system works.
    • Discuss how GitHub can be used as a collaboration tool.
  • Git 02: - Repos & Forks
    • Create a GitHub account.
    • Know how to navigate to and between GitHub repositories.
    • Create your own fork, or copy, a GitHub repository.
    • Explain the relationship between your forked repository and the master repository it was created from.
  • Git 03: Git Clone - Work Locally On Your Computer
    • Be able to use the git clone command to create a local version of a GitHub repository on your computer.
  • Git 04: Markdown Files
    • Create a Markdown (.md) file using a text editor.
    • Use basic markdown syntax to format a document including: headers, bold and italics.
  • Git 05: Git Add Changes - Commit
    • Add new files or changes to existing files to your repo.
    • Document changes using the commit command with a message describing what has changed.
    • Describe the difference between git add and git commit.
    • Sync changes to your local repository with the repostored on
    • Use and interpret the output from the following commands:
      • git status
      • git add
      • git commit
      • git push
  • Git 06: Pull Request to Add Changes to a Central Repo
    • Explain the concept of base fork and head fork.
    • Know how to transfer changes between a fork & a central repo in GitHub.
    • Create a Pull Request on the website.
  • Git 07: Updating Your Repo by Setting Up a Remote
    • Explain why it is important to update a local repo before beginning edits.
    • Update your local repository from a remote (upstream) central repo.

Things You’ll Need To Complete This Series

You will need Git and bash installed on your computer. Installation instructions are here.

You will also need an active internet connection to access GitHub.

Tutorials in the Series