Course Outline

0.1 Pre-Workshop Installation and Set Up

Learning Objective: Set up a GitHub account and install git (pre-workshop).
Instructions: Installation and Set-Up
Assignment: Pre-Workshop Assignment

Topics/Learning Outcomes:

  • Download Git for Windows and bundled software (includes Git Bash) (PC only)
  • Download Git for Mac installer (Mac only)
  • Create a GitHub account with m2FA, PAT for https connection
  • Configure git
  • Pre-workshop assignment to show local configuration and connection to GitHub

Course Reference Material:

0.2 Section 1. Introductions and What is Version Control?

Learning Objective: Understand the value-add of using version control and the the basics of how automated version control systems work.

Topics:

  • How version control systems work
  • What is a repository?
  • What is the value-add of using version control in teams? individually?

Course Reference Material:

0.3 Section 2. Working Locally with Git

Learning Objective: Use command-line git to track local file changes.

Topics:

  • Default branch naming (inclusive language)
  • What is Bash
  • Bash-specific commands: mkdir, rm -r, cd, ls
  • Git Bash commands: init, commit, add, status, log
  • Directory structure
  • Tracking changes made to a text doc
  • What to do when when -m is omitted.

Course Reference Material:

0.4 Section 3. Remote Code Hosting and GitHub

Learning Objective: What are remote hosting platforms and why do we use them?

Topics:

  • More on secure authentication/login: username/password/2FA to sign in to account, PAT to authenticate
  • Git Bash commands: push, pull
  • Create a remote repository
  • Clone a remote repostitory
  • Push local changes to GitHub.
  • .gitgnore and subdirectories (we don’t want ppl pushing data to GitHub)
  • .gitkeep (time permitting)

Course Reference Material:

0.5 Section 4. BCGov GitHub Organization

Learning Objective: Understand how the bcgov framework, policy and related tools help B.C. government employees share code on GitHub

Topics:

  • what is the bcgov organization framework
  • bcgov policy framework and licensing

Course Reference Material:

Further Links to bcgov Organization Resources: