Skip to content

Git Foundations

Git Foundations picks up where JavaScript Foundations left off. The Summit Trail Outfitters site you built is complete — structured, styled, and interactive. Now you will learn to track its history, work safely on new features without breaking working code, and publish it to GitHub as a professional portfolio piece.

  • What version control is and why every developer uses it
  • Installing Git and configuring your identity
  • The three-area model: working tree, staging area, and repository
  • Making commits and reading history with git log
  • Creating, switching, and merging branches
  • Undoing mistakes — discarding changes, unstaging files, reverting, and resetting
  • The difference between Git and GitHub, and how they connect
  • Pushing and pulling between a local repo and a remote
  • The pull request workflow used on real teams
  • Publishing the STO site to GitHub as a portfolio repository

This course assumes you have completed JavaScript Foundations or have equivalent knowledge. You should be comfortable writing HTML, CSS, and JavaScript, working with files in a terminal or file explorer, and using a code editor. No prior experience with Git or version control is required.

Most exercises in this course use a dedicated practice repository — a folder on your machine where you can run commands safely without affecting the STO site. Module 07 switches to the real STO project and publishes it to GitHub.