InfraLoka AcademyPathwayAI
PathwayAI

Module 12 · Chapter 11: Git and branches

Git and branches

6 min read7 min readReviewed 26 October 2026

In short

One commit, one change, with the reason in its message. Work on your own branch. Read git status, then add paths explicitly, never everything. Undo with a command that touches only what is wrong.

After this lesson you can

  • Make small commits with messages that explain the reason
  • Work on a branch and add files explicitly
  • Undo a wrong change without losing other work

Sign in to read this lesson

The title and summary are open to everyone. The full lesson is for signed-in learners.