Git and GitHub / Basic: the local Git model
Git and GitHub β Basic: the local Git model
Understand snapshots, staging, history, branches, integration, and remote-tracking knowledge.
What you will learn
- Create and inspect a temporary local repository.
- Select coherent snapshots and read precise diffs.
- Explain ancestry and separate fetching from integration.
Git repositories, snapshots, and GitHub
Build an accurate local model before using a hosting platform or sharing changes with collaborators.
Start learningWorking tree, index, and deliberate commits
Control exactly which content enters the next snapshot and inspect both staged and unstaged changes.
Start learningHistory, diffs, and evidence-based inspection
Read snapshots and ancestry without assuming a displayed patch tells the entire history of a change.
Start learningBranches, HEAD, and safe switching
Use branch references to separate work and understand what happens to files and commits when the current reference changes.
Start learningMerging, ancestry, and integration results
Choose an integration operation by graph shape and verify the resulting content rather than relying on a success message.
Start learningRemotes, fetch, and tracking references
Understand local knowledge of another repository before choosing how to integrate or publish changes.
Start learning