Version Control with GitHub feature image Source: National Ecological Observatory Network
NEON EDUCATION bio photo

NEON EDUCATION

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

View All Tutorials

Tags

LiDAR (9)
R programming (70)
Remote Sensing (12)
Data Visualization (4)
Hyperspectral Remote Sensing (7)
Hierarchical Data Formats (HDF5) (24)
Spatial Data & GIS (18)
Time Series (15)
Phenology (7)
Raster Data (8)
Vector Data (6)
Metadata (1)
Git & GitHub (6)
(1) (1) (1)

Tutorial by R Package

dplyr (8)
ggplot2 (17)
h5py (1)
lubridate (time series) (6)
maps (1)
maptools (3)
plyr (2)
raster (32)
rasterVis (raster time series) (3)
rgdal (GIS) (23)
rgeos (5)
rhdf5 (21)
sp (7)
scales (4)
gridExtra (4)
ggtheme (0)
grid (2)
reshape2 (3)
plotly (6)

View ALL Tutorial Series




Twitter Youtube Github


Blog.Roll

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: GitHub.com - 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 GitHub.com.
    • Use and interpret the output from the following commands:
      • git status
      • git add
      • git commit
      • git push
  • Git 06: Sync GitHub Repos with Pull Requests
    • Explain the concept of base fork and head fork.
    • Know how to transfer changes (sync) between repos in GitHub.
    • Explain why it is important to update a local repo before beginning edits.
    • Update your local repository from your fork on GitHub.
    • Create a Pull Request on the GitHub.com website.

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