Codae

Git, GitHub and Hosting

Secure your work traceably and publish a website. Initially simulated repositories without external data; actual GitHub and hosting steps with your own project.

6 chapters · 36 lessonsBeginner friendlyFreeRuns in the browser

Start this courseAll courses

What you will learn

Course content

  1. Chapter 1 Files and Terminal

    Understand project tools and prepare a local practice repository.

    1. Introduction to the Command Line
    2. Creating Files and Folders
    3. Installing and Configuring Git
    4. Initializing a Local Repository
    5. Fixing Common Terminal Errors
    6. Mini-Project: Setting Up the Working Environment
  2. Chapter 2 Recording Changes

    Learn daily local Git workflows using status, diff, staging, and commits.

    1. Checking Status with git status
    2. Staging Changes with git add
    3. Viewing Changes with git diff
    4. Creating the First Commit
    5. Reading Commit History with git log
    6. Mini-Project: Cycle of Status, Add, and Commit
  3. Chapter 3 GitHub

    Connect local and remote, use .gitignore, and secure a web project on GitHub.

    1. Excluding Unwanted Files with .gitignore
    2. Linking a Remote Repository
    3. Uploading Changes with git push
    4. Checking and Correcting Remote Connections
    5. Downloading Changes with git pull
    6. Mini-Project: Securing the First Web Project on GitHub
  4. Chapter 4 Branches and Collaboration

    Develop changes separately, merge branches, and resolve conflicts.

    1. Creating and Switching Branches
    2. Merging Changes with git merge
    3. Understanding and Analyzing Merge Conflicts
    4. Manually Resolving Conflicts
    5. Working with Pull Requests on GitHub
    6. Mini-Project: Team Branching Workflow
  5. Chapter 5 Publishing a Website

    Set up hosting transparently and publish a static website.

    1. Basics of Static Hosting
    2. Enabling GitHub Pages
    3. Checking Paths and Relative Links
    4. Fixing Deployment Errors
    5. Updating Changes Live
    6. Mini-Project: Publishing a Portfolio Website
  6. Chapter 6 Maintaining the Project

    Continue working after the first release using issues, updates, and rollbacks.

    1. Managing Bugs and Tasks on GitHub with Issues
    2. Undoing Commits with git reset and git revert
    3. Recovering Lost Commits with git reflog
    4. Fixing Typical Maintenance Errors
    5. Setting Version Tags and Managing Releases
    6. Mini-Project: Maintenance, Issue Fix, and Release

How each lesson works

No hour-long videos. Each lesson is a short loop you complete yourself, until the idea sits.

  1. Read

    A short explanation and one clear task. Just enough to get going.

  2. Write

    You type the code yourself, in a real editor right in the browser.

  3. Run

    Run it and see what your program actually does, straight away.

  4. Check

    Check tells you whether the task is solved, and what is missing if not.

Good to know

More courses