Chapter · Git

Collaboration & Remotes

Git is distributed, so collaboration is a set of explicit exchanges between repositories. These topics cover remotes, hosted workflows, review, and access.

Topics
Topic 1

Remotes

Remote names, URLs, upstreams, tracking branches, and how a local repo remembers other repos.

12 min read
Topic 2

Fetch, Pull & Push

The difference between downloading refs, integrating them, and publishing your own commits.

12 min read
Topic 3

Remote Branches

Origin branches, branch tracking, stale refs, pruning, and reading ahead-behind state.

12 min read
Topic 4

Forks & Pull Requests

Fork-based contribution, topic branches, pull request anatomy, review cycles, and update strategies.

12 min read
Topic 5

Distributed Workflows

Centralized, integration-manager, dictator-lieutenant, trunk-based, and release-branch workflows.

12 min read
Topic 6

Code Review with Git

Commit hygiene, range comparisons, reviewable diffs, stacked changes, and avoiding review churn.

14 min read
Topic 7

Credentials, SSH & Access

SSH keys, HTTPS credentials, credential helpers, signed access, and the security habits around remotes.

12 min read