Skip to content
beginner 35 min read ⚡ 300 XP by CMSG Team · Mar 5, 2026
git github version-control collaboration

Git and GitHub: The Architect’s Timeline

Course Overview

Version control is the bedrock of professional engineering. In this course, you will move beyond simple commit and push. You will master Branching Strategies, Conflict Resolution, and the Pull Request ( PR Arcane Glossary Pull Request. A method of submitting contributions to a project, allowing for code review and discussion before integration. ) Ritual that powers the global software industry.

Learning Objectives

  • Navigate the Git Arcane Glossary A distributed version control system for tracking changes in source code during software development. state model: Working Directory, Staging Area, and Local/Remote Repositories.
  • Master the “Golden Workflow”: Branching, Committing, and Merging.
  • Resolve complex merge conflicts with confidence.
  • Leverage GitHub Arcane Glossary A cloud-based hosting service for software development and version control using Git, providing tools for collaboration. for professional collaboration: PRs Arcane Glossary Pull Request. A method of submitting contributions to a project, allowing for code review and discussion before integration. , Issues, and Actions.

Prerequisite Rituals

Verify your circle before starting

Check all to unlock lesson focus READY TO CAST

Technical Deep Dive: The Content-Addressable Storage

Git is not just about “diffs”; it is a Content-Addressable Filesystem.

  • SHAs: Every commit is a unique hash based on content. Change one character, and the entire hash changes.
  • Refs: Branches and Tags are just pointers to these hashes. Moving a branch is just moving a pointer.

Walkthrough: The Collaborative Feature Flow

Step 1: The Foundation

Initialize your local chronicle and connect it to the cloud.

mkdir wizard-project && cd wizard-project
git init
echo "# The Wizard's Diary" > README.md
git add .
git commit -m "feat: initial ritual"
git branch -M main
# Connect to your GitHub repo
# git remote add origin https://github.com/USER/wizard-project.git
# git push -u origin main

Step 2: The Feature Ritual

Never code on main. Create a specialized safe-space.

git checkout -b feat/arcane-logic
# Simulate work
echo "const arcaneValue = 42;" >> index.js
git add .
git commit -m "feat: implement arcane constant"

Step 3: Handling the Chaos (Conflict Resolution)

Simulate a “Main” change while you were working.

# Another dev updated main
git checkout main
echo "const baseValue = 100;" >> index.js
git add .
git commit -m "fix: update base value on main"

# Back to your feature
git checkout feat/arcane-logic
git merge main
# CONFLICT! index.js will have <<<<<< HEAD markers
# Edit index.js to clean up the mess
git add index.js
git commit -m "chore: resolve merger conflict with main"

Pro Patterns: The Commit Message Ritual

Professional teams use Conventional Commits. This allows automated tools to generate changelogs and version numbers.

  • feat: for new capabilities.
  • fix: for bug resolutions.
  • docs: for documentation changes.
  • chore: for maintenance that doesn’t affect the code.

Capstone Project: The Pull Request Symphony

Start a project on GitHub and simulate a professional team workflow.

  1. Create a develop branch from main.
  2. Open a Pull Request from a feature branch to develop.
  3. Practice a Squash and Merge to keep the history clean.
  4. Set up a simple GitHub Action that echoes “Build Successful” on every push.

The timeline is your canvas. Paint with precision; undo with grace.

📜 The Grimoire

Progress to Adept 0%
Knowledge Acquired

No spells mastered yet...

Rank Hierarchy

Progress saved locally to your browser.

🕯️ Academy Support

Common Ritual Issues
"Node.js version not found"
Run node -v. If it's below 22.12.0, use NVM to upgrade: nvm install 22 && nvm use 22
"Build fails on Cloudflare"
Ensure you've set the NODE_VERSION environment variable to 22.12.0 in the Cloudflare Dashboard settings.
"Prerequisites not checking"
The checklists are interactive but local to your current lesson view. They help you track your own setup progress manually.

Still blocked by a technical curse?

Ask the Archmage