How to Build a Dev Team Knowledge Base in Obsidian with Git Sync

How to Build a Dev Team Knowledge Base in Obsidian with Git Sync

A dev team knowledge base only helps if the notes stay findable, current, and trusted. Most team wikis fail on the third point. Someone writes a setup guide, the stack changes, nobody updates the page, and the next hire follows dead instructions for a day before asking in chat. Obsidian with Git sync fixes the ownership problem: notes live in plain Markdown files, changes go through the same review habits developers already use, and history shows who changed what and when.

This guide sets up a shared vault your whole team can use. It covers the vault layout, templates, sync rules, and the weekly habits that keep the base usable after the first month.

What a dev team knowledge base needs before it grows

Before you create folders, agree on three rules. First, every note answers one question or documents one decision. A page called “Backend” that covers setup, deployment, and incident history will rot, because nobody owns all three topics. Second, every note names an owner and a review date in its frontmatter. Third, chat is not documentation. If an answer in chat gets asked twice, it moves into the base the same week.

Pick your source of truth per topic and write it down on an index note. Runbooks live in the base. API contracts live with the code, and the base links to them. That split matters, because a base that tries to mirror the codebase will always lag behind it. A good companion read is this guide to documenting APIs for small teams, which keeps contract detail where developers already look for it.

Tool choice matters less than habit, but the tool still shapes the habit. If your team already lives in Markdown and Git, Obsidian fits without a new login system or a new editor to learn. If the team prefers a database-style wiki, compare options first in an Obsidian vs Logseq vs Notion comparison before you commit the team to a vault.

Set up the vault and the repo

Create one Git repository for the vault and one shared remote every developer can clone. Keep the vault root clean: an index note, a templates folder, and the content folders described below. Put the Obsidian configuration folder in version control too, so the team shares the same plugins and settings. Leave personal plugin settings and workspace layout files out if they cause noise in pull requests.

Start with a small plugin set. Templater handles new-note templates, and a Git plugin or a scheduled Git pull and push handles sync for teammates who prefer not to touch the command line. Decide one sync path per person and document it. Mixed sync methods on the same vault cause duplicate files and merge conflicts that scare people away from contributing.

Protect the main branch. Every change goes through a pull request, even a typo fix, for the first month. That sounds slow, but it teaches the team that the base has the same quality bar as code. After a month of clean merges, you can relax the rule for small fixes while keeping reviews for runbooks and setup guides.

Use an obsidian folder structure the whole team can guess

An obsidian folder structure works when a new hire can guess where a note lives without asking. Use a small set of top-level folders, each with a clear owner:

  • 00-index: the home note, topic maps, and onboarding checklists
  • 01-runbooks: incident response, deploys, rollbacks, and on-call steps
  • 02-guides: environment setup, tooling, and day-to-day workflows
  • 03-decisions: architecture decision records with date, context, and outcome
  • 04-reference: service inventory, environments, and access request steps
  • 05-archive: outdated notes kept for history, clearly marked as archived

Keep folder names short and numbered so they sort the same way on every machine. Limit nesting to two levels. A note buried four folders deep gets forgotten, and search becomes the only way in, which only works if the author chose searchable words in the title. Name notes with verbs and nouns a teammate would search for, such as “Deploy the API to staging” rather than “Deploy notes”.

Use tags sparingly. Five team-wide tags beat fifty personal ones. A practical set is status-draft, status-review, needs-update, on-call, and onboarding. Tags mark workflow state, while folders mark topic. When a tag and a folder say the same thing, drop the tag.

Templates that keep notes consistent

Give every note type one template. A runbook template needs sections for trigger, steps, expected result, rollback, and related alerts. A decision template needs context, options considered, decision, and consequences. A setup guide template needs prerequisites, steps, verification, and troubleshooting. Templates remove the blank-page stall and make review faster, because reviewers check known sections instead of hunting for missing ones.

Add a short frontmatter block to each template with title, owner, review date, and tags. The review date drives your maintenance habit. A note without a review date is a note nobody plans to revisit, and it will go stale quietly.

Sync rules: obsidian git sync without merge wars

Obsidian git sync works well when the team follows a few rules. Pull before you write, commit small changes with clear messages, and push at the end of each writing session. Long-lived local edits are the main cause of conflicts, because two people edit the same runbook during an incident and both push at once.

Handle conflicts in plain text, not by deleting the other person’s version. Open the conflicted file, keep both additions where they both hold true, and drop only what is provably outdated. If a conflict touches a runbook during an incident, resolve it after the incident with the responder in the room, and note the resolution in the commit message.

Never commit secrets. Vaults collect connection strings, tokens, and internal hostnames faster than code repos do, because notes feel private. Add a pre-commit check or a secret scanner to the repo, and keep credentials in your team vault with a link from the note instead of the value. If a secret does land in history, rotate it and rewrite history only if your team agrees on the process, since a rewrite forces everyone to re-clone.

For teammates who record walkthroughs, link the video from the note rather than storing large files in the repo. A short list of screen recording tools for developer documentation helps the team pick one recorder so links stay consistent. Large binaries bloat clone times and slow every sync for everyone.

Habits that keep shared team notes usable

Shared team notes stay usable through maintenance, not through a launch. Run a weekly 30-minute docs review. The owner of each note due for review checks it, updates what changed, and moves the review date forward. Notes past their review date get a needs-update tag and appear in the review list until someone claims them.

Add documentation to your definition of done for any change that alters setup, deployment, or on-call steps. A pull request that changes a deploy step and leaves the runbook untouched is an incomplete change. Reviewers should check the linked note the same way they check tests.

Measure the base by use, not by page count. Count how often onboarding questions get answered with a link instead of a fresh explanation, and track which notes get opened during incidents. If your team also ships through pipelines, the same review discipline applies to automation: read how to build a CI/CD pipeline with GitHub Actions and treat docs checks as one more check in that pipeline rather than a separate chore.

Questions teams ask before they commit

Does every developer need to know Git?

Every contributor needs pull, commit, and push, plus how to resolve a simple conflict. That is a 30-minute training session, not a Git course. Teammates who only read notes need no Git skill at all if you publish a read-only render of the vault.

What happens when two people edit the same note?

Git records both versions and marks the conflict. The second person to push resolves it by keeping what is true from each side. Short editing sessions and a pull-before-you-write habit keep conflicts rare.

How do we stop the base from going stale?

Review dates, a weekly review slot, and a definition of done that includes docs. No tool enforces those habits for you, but the frontmatter review date makes staleness visible instead of hidden.

Start with ten notes: onboarding checklist, environment setup, deploy runbook, rollback runbook, on-call guide, service inventory, access request steps, and three decision records. Ship those, run the weekly review for a month, and expand only when the team actually links to the base instead of asking in chat.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.