A lot of beginners learn Python or JavaScript….but skip Git.
Big mistake.
Git is one of the most useful tools you can learn as a developer because it helps you save work, track changes, and collaborate like a real engineer.
Here’s the roadmap I’d follow to learn Git from zero:
Lesson 1: Learn what Git actually is
Before commands, understand what Git does:
🔹 tracks changes in your code
🔹 lets you go back to older versions
🔹 helps you work safely without breaking everything
🔹 makes collaboration possible
Where to learn:
🔹 git-scm.com/book/en/v2/Get…
🔹 git-scm.com/learn
Lesson 2: Learn how to set up Git
Before you do anything else, learn:
🔹 how to install Git
🔹 how to check your version
🔹 how to set your name and email
🔹 how to start using Git from the terminal
Where to learn:
🔹 git-scm.com/book/en/v2/Get…
🔹 git-scm.com/docs/git-config
Lesson 3: Learn the basic Git workflow
This is the foundation.
Learn:
🔹 git init
🔹 git status
🔹 git add
🔹 git commit
If you understand this flow, Git starts making sense.
Where to learn:
🔹 git-scm.com/book/en/v2/Git…
🔹 git-scm.com/book/en/v2/Git…
Lesson 4: Learn how to read what Git is telling you
A lot of beginners memorize commands but do not read Git output.
Learn to understand:
🔹 modified files
🔹 staged files
🔹 untracked files
🔹 clean working tree
Where to learn:
🔹 git-scm.com/docs/git-status
🔹 git-scm.com/book/en/v2/Git…
Lesson 5: Learn branches early
Branches are one of the best parts of Git.
Learn:
🔹 what a branch is
🔹 how to create one
🔹 how to switch branches
🔹 how to work without touching main
Where to learn:
🔹 git-scm.com/book/en/v2/Git…
🔹 atlassian.com/git/tutorials/…
Lesson 6: Learn how merging works
Once you can branch, you need to learn how work comes back together.
Learn:
🔹 merging branches
🔹 fast-forward merges
🔹 basic merge flow
🔹 why conflicts happen
Where to learn:
🔹 git-scm.com/book/en/v2/Git…
🔹 atlassian.com/git/tutorials/…
Lesson 7: Learn how to connect Git to GitHub
Git is local.
GitHub is where you share and collaborate.
Learn:
🔹 local vs remote repo
🔹 git clone
🔹 git push
🔹 git pull
Where to learn:
🔹 docs.github.com/en/get-started…
🔹 git-scm.com/docs
Lesson 8: Learn pull requests and collaboration
This is where you start working like a real team member.
Learn:
🔹 pushing a branch
🔹 opening a pull request
🔹 reviewing changes
🔹 updating your branch
Where to learn:
🔹 atlassian.com/git/tutorials/…
🔹 docs.github.com/en/pull-reques…
Lesson 9: Learn how to fix mistakes
This is the part that makes Git feel scary at first.
But you should learn:
🔹 git restore
🔹 git reset
🔹 git revert
🔹 when not to panic
Where to learn:
🔹 git-scm.com/docs/git-resto…
🔹 atlassian.com/git/tutorials/…
Lesson 10: Learn .gitignore and clean repos
Not everything belongs in a repo.
Learn:
🔹 what .gitignore does
🔹 how to ignore files
🔹 why environment files and clutter should stay out
🔹 how to keep repos clean
Where to learn:
🔹 git-scm.com/docs/gitignore
🔹 docs.github.com/en/get-started…
Lesson 11: Learn Git visually by practicing
A lot of Git clicks when you can actually see branches move.
Practice:
🔹 branching
🔹 merging
🔹 rebasing
🔹 moving through commit history
Where to learn:
🔹 learngitbranching.js.org
🔹 skills.github.com
Lesson 12: Build a simple Git workflow
This is where real progress happens.
Practice this workflow:
🔹 create repo
🔹 make change
🔹 stage it
🔹 commit it
🔹 branch
🔹 merge
🔹 push to GitHub
Where to learn:
🔹 git-scm.com/book/en/v2
🔹 atlassian.com/git/tutorials/…
If you’re learning to code, learn Git early.
It will save you time, save your projects, and make you look more professional faster.
Save this thread and come back to it lesson by lesson.
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.
