Skip to content
Commitpedia
Log in Join & edit

Zero to Git

Set up Git, commit and push every day, fix conflicts and mistakes, and get your first pull request merged on GitHub.

Beginner, 9 steps, about 6 hours

  1. First-time Git setup: name, email, default branch, SSH or HTTPS Start here so every commit carries your name and pushes work without password prompts. Script CMP 0032
  2. The everyday Git workflow: status, add, commit, push, pull Learn the five commands you will type every day and what each one changes. Article CMP 0033
  3. Git cheat sheet Keep this open while you practice; skim it now, return to it often. Article CMP 0037
  4. A starter set of Git aliases Add a few short aliases once the basic commands feel familiar. Script CMP 0044
  5. Merging vs rebasing in Git Understand how branches come back together before you start collaborating. Article CMP 0034
  6. Fix: CONFLICT (content): Merge conflict in … Conflicts happen to everyone; learn to read the markers and resolve them calmly. Article CMP 0041
  7. Undoing changes in Git: restore, reset, revert, and reflog Focus on which undo is safe for shared history and which is only for local work. Article CMP 0035
  8. The pull request workflow on GitHub See how branches, reviews and merges fit together on GitHub. Article CMP 0038
  9. Make your first pull request: Git and GitHub from first commit to merged change Capstone: put every earlier step together and get a real change merged. Article CMP 0262

Start with step 1