WEBVTT

1
00:00:00.350 --> 00:00:02.775
Status → branch → diff → commit.

2
00:00:02.915 --> 00:00:05.739
A branch isolates a line of work.

3
00:00:05.879 --> 00:00:14.434
Inspect status before changing branches, review the diff, stage only intended files, and commit a coherent change.

4
00:00:15.424 --> 00:00:17.773
See a concrete example.

5
00:00:17.913 --> 00:00:27.793
In a disposable Git repository, run git status, create a branch with git switch -c practice-heading, edit one heading, and run git diff.

6
00:00:27.933 --> 00:00:31.107
Review before staging that file and committing.

7
00:00:32.097 --> 00:00:35.282
Pause the video and complete the exercise.

8
00:00:41.097 --> 00:00:43.077
Avoid this mistake.

9
00:00:43.217 --> 00:00:47.926
Staging everything without checking for secrets or other people’s changes.

10
00:00:48.066 --> 00:00:50.541
Stage named files only.

11
00:00:51.531 --> 00:00:59.960
Check your result. git show --stat displays only the intended files; git status makes remaining uncommitted work visible.

12
00:01:00.100 --> 00:01:06.620
Open the lesson below, try the exercise, and mark it complete only after checking the result.
