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.

6 lessons Β· No account required

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.
  1. Git repositories, snapshots, and GitHub

    Build an accurate local model before using a hosting platform or sharing changes with collaborators.

    Start learning
  2. Working tree, index, and deliberate commits

    Control exactly which content enters the next snapshot and inspect both staged and unstaged changes.

    Start learning
  3. History, diffs, and evidence-based inspection

    Read snapshots and ancestry without assuming a displayed patch tells the entire history of a change.

    Start learning
  4. Branches, HEAD, and safe switching

    Use branch references to separate work and understand what happens to files and commits when the current reference changes.

    Start learning
  5. Merging, ancestry, and integration results

    Choose an integration operation by graph shape and verify the resulting content rather than relying on a success message.

    Start learning
  6. Remotes, fetch, and tracking references

    Understand local knowledge of another repository before choosing how to integrate or publish changes.

    Start learning
Back to course