RoadmapsProjects
Sign in./start

Learn

RoadmapsProjects

Contribute

DiscoverIssues

Account

Sign in./start-building

Become an Open Source Builder. Learn. Build. Contribute.

Learn

RoadmapsProjectsStart Building

Contribute

DiscoverIssues

Account

Sign inDashboardSettings

Legal

PrivacyTerms

© 2026 Pull // all rights reserved

PrivacyTerms

lesson // bitcoin

Git & Open Source Workflow

Learn branching, pull requests, and how maintainers review contributions.

beginner4 days

Public lesson — sign in to track progress on this roadmap.

./sign-in

On this page

Learning objectives

  • Use feature branches and pull requests confidently
  • Write clear commits that maintainers can review
  • Understand ACK / NACK culture in Bitcoin projects

study // plan

Lessons are primers. Depth comes from required reading, interactive labs, reflection, and a hands-on check with evidence — the BOSS study pattern.

Research on Bitcoin Search

Reflection prompts

  1. Explain Git & Open Source Workflow to a teammate without jargon — what problem does it solve?
  2. What would break in production if you misunderstood Git & Open Source Workflow?
  3. Which BIP, book chapter, or Core doc is authoritative here, and what did you verify?

Lab // Regtest check

After reading, run one hands-on check related to Git & Open Source Workflow. Prefer local regtest or Polar over mainnet.

evidence required

  • ·Command output or screenshot from your local lab
  • ·One sentence on what you observed vs expected
  • ·Link to the required reading section you used

Open source Bitcoin work is collaboration under a microscope. Your code is not “done” when it runs on your laptop, it is done when reviewers can understand, test, and trust it.

Why this matters

Bitcoin repositories move carefully. A confusing commit history or a PR that mixes five unrelated changes will stall. Learning the workflow early makes every later contribution smoother.

Analogy

A pull request is like a work order on a job site: what changed, why it is safe, and how to verify it. Maintainers are the inspectors. They are not being difficult, they are protecting users’ money.

The daily loop

Loading diagram…

Most contributions follow a short cycle from branch to reviewed merge.

Branching

git checkout -b fix/clarify-fee-docs
# ...edit files...
git add -p
git commit -m "docs: clarify fee estimation examples"
git push -u origin HEAD

Keep branches focused: one bug, one feature, or one docs improvement.

Commits that help reviewers

Prefer messages that explain why:

  • Good: wallet: avoid double-counting change in balance
  • Weak: fix stuff

Conventional commit prefixes (fix:, feat:, docs:, test:) help changelogs and skimming.

Pull request hygiene

A strong PR description answers:

  1. What problem are you solving?
  2. How did you test it?
  3. What should reviewers watch for?

ACK / NACK

In Bitcoin Core and related projects, reviewers often write ACK (I support this after review) or NACK (I object, with reasons). Silence is not approval. Expect technical pushback, it is normal.

Common mistakes

  • Opening a PR from main with dozens of unrelated commits
  • Force-pushing during active review without warning
  • Ignoring CI failures and asking for review anyway

Practice

Fork a small Bitcoin-adjacent repo, fix a typo or docs issue, and open a PR following the project’s CONTRIBUTING.md. Treat the review comments as the real lesson.

Worked mental model

Re-read the diagrams in this lesson once out loud in plain language. If you cannot explain the flow to a friend without jargon, pause and revisit Mastering Bitcoin / Mastering Lightning chapters linked in Resources. Chapter references are intentional, not decorative.

Hands-on habit

Every protocol idea should be paired with one local experiment:

  1. Reproduce the happy path on regtest (or Polar for Lightning)
  2. Break it on purpose (wrong fee, expired invoice, offline peer)
  3. Write down what error you saw and which layer produced it (wallet, node, mempool, peer)

That habit turns reading into builder instinct.

Glossary check

Pick three terms from this lesson and define them in one sentence each without opening notes. Weak definitions mean the lesson is not finished yet.

Resource order

Use Resources in order: narrative book chapter first, then BIP/BOLT for precision, then implementation docs for commands. Jumping straight to RPC flags without the mental model creates brittle knowledge.

Next steps

With Git habits in place, study the cryptography that Bitcoin actually uses, hashes, key pairs, ECDSA, and Schnorr.

further reading

  • docsGitHub Flow
  • articleConventional Commits
  • docsBitcoin Core contributing

progress // sign in

Reading is public. Sign in to mark lessons complete, sync across devices, and unlock your roadmap.

./sign-in-to-track
prevDeveloper EnvironmentnextCryptography Primer

On this page

Press Shift + ? for keyboard shortcuts.

Press R to research on Bitcoin Search.