Git and GitHub: version control to collaboration

8 steps · about 3 h 50 min · Beginner

  1. Why version control matters (guide, Pro Git Book, 20 min)

    Understand snapshots versus diffs and the architecture of distributed version control.

  2. Initialize a repo and make your first commit (guide, Pro Git Book, 30 min)

    Master git status, staging with add, and creating meaningful commits.

  3. Inspect history with git log and diff (guide, Pro Git Book, 25 min)

    Navigating commit logs and reviewing differences is essential for troubleshooting.

  4. Create and switch branches (guide, Pro Git Book, 30 min)

    Isolated branches let you experiment and build features without risking main.

  5. Visualize branching, merging and rebasing (interactive, Learn Git Branching, 35 min)

    Interactive visual puzzles solidify what HEAD, commit pointers, and branches really do.

  6. Merge branches and resolve conflicts (guide, Pro Git Book, 30 min)

    Handling merge conflicts calmly is the hallmark of a confident developer.

  7. Push to GitHub and create pull requests (guide, GitHub Docs, 30 min)

    Connect local repos to remote remotes, push changes, and open PRs for review.

  8. Undo mistakes safely with revert and reset (guide, Pro Git Book, 30 min)

    Learn when to use git restore, revert, or stash to recover without losing work.