Developer toolsLearning library

Git and Linux workflow

Use a terminal and version control to work confidently on collaborative software.

Beginner19 chapters14 practice questions8 references
Start coursePractise questions

Get an in-app notice when new lessons or practice are added.

19 chapters across 7 modules

Course chapters

Explore all 19 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.

01 · Command-line files and access2 chapters
  1. Paths and working directories

    • Distinguish absolute and relative paths

    Practice: Navigate a project and explain the current working directory.

    Read the primary referenceLesson guide · Ready
  2. Files and permissions

    • Read file metadata and basic access permissions

    Practice: Explain why a file cannot be read without broad permission changes.

    Read the primary referenceLesson guide · Ready
02 · Shell composition and processes2 chapters
  1. Pipes and redirection

    • Connect command output and distinguish append from replace

    Practice: Count matching lines without modifying the source file.

    Read the primary referenceLesson guide · Ready
  2. Processes and environment

    • Explain process arguments and environment-variable scope

    Practice: Inspect a process and configure a non-secret local setting.

    Read the primary referenceLesson guide · Ready
03 · Git foundations4 chapters
  1. Working tree, index, and history

    • Distinguish unstaged, staged, and committed changes

    Practice: Stage a focused change and review its diff.

    Read the primary referenceLesson guide · Ready
  2. Commits and useful messages

    • Create a commit that represents a coherent behavior change

    Practice: Write a message explaining a concrete fix.

    Read the primary referenceLesson guide · Ready
  3. Branches and switching

    • Understand a branch as a movable history reference

    Practice: Create a feature branch without losing uncommitted work.

    Read the primary referenceLesson guide · Ready
  4. Diffs and history inspection

    • Use history to understand why code changed

    Practice: Find the commit that introduced a behavior.

    Read the primary referenceLesson guide · Ready
04 · Collaboration4 chapters
  1. Remotes and fetching

    • Separate fetching remote history from merging it

    Practice: Inspect the difference between a local and remote branch.

    Read the primary referenceLesson guide · Ready
  2. Merging and conflicts

    • Resolve competing edits while preserving intended behavior

    Practice: Resolve a small text conflict and review the result.

    Read the primary referenceLesson guide · Ready
  3. Pull requests and reviews

    • Prepare context, validation, and a reviewable change size

    Practice: Write a concise pull-request description for a lesson correction.

    Read the primary referenceLesson guide · Ready
  4. Undoing changes safely

    • Choose revert, restore, or reset according to scope and history sharing

    Practice: Undo a published mistake with a new revert commit.

    Read the primary referenceLesson guide · Ready
05 · Daily practice4 chapters
  1. Ignore rules and secrets

    • Keep generated files and credentials out of history

    Practice: Review an ignore file without ignoring needed source.

    Read the primary referenceLesson guide · Ready
  2. Shell scripts

    • Write a small script with explicit inputs and failure handling

    Practice: Automate a read-only project summary.

    Read the primary referenceLesson guide · Ready
  3. SSH and remote access concepts

    • Separate identity keys, host trust, and transport

    Practice: Explain what a host-key warning means.

    Read the primary referenceLesson guide · Ready
  4. Mini project: first contribution

    • Combine branching, editing, validation, and review

    Practice: Submit a small documentation improvement with attribution.

    Read the primary referenceLesson guide · Ready
06 · Reproducible collaboration2 chapters
  1. Rebase and shared-history rules

    • Distinguish local history editing from rewriting published collaboration history

    Practice: Explain when a revert is safer than changing existing shared commits.

    Read the primary referenceLesson guide · Ready
  2. Release and contribution workflow

    • Connect a reviewed commit, version, changelog, and deployment artifact

    Practice: Document how a lesson change moves from draft to reviewed publication.

    Read the primary referenceLesson guide · Ready
07 · Further foundations and worked reasoning1 chapter
  1. Processes and project history

    Connect shell commands, process results, and Git’s working tree and index.

    • Distinguish running process state from recorded version-control history

    Practice: Inspect a local process and reconstruct a file change using Git history without rewriting it.

    Read the primary referenceExpanded reading · Ready

Learn it. Check it. Try again.

14 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.

Open Git and Linux workflow practice

Books & references

Free reading at the publisher or author’s site. External materials keep their own licenses.