# Answer questionnaires from the docs your engineers keep in GitHub

URL: https://wolfia.com/updates/github
Description: For teams whose policies and docs live in GitHub: pick the repositories and folders, and Wolfia keeps your knowledge base in step with them.
Last updated: 2026-06-11

Many engineering teams keep security policies, runbooks and architecture docs next to their code, in GitHub. To use them in a questionnaire, someone copied them into a shared drive or uploaded a file to Wolfia, and the copy went stale the next time a change was merged. Now Wolfia reads them straight from the repository and keeps up as they change.

## How it works

1. In the **Knowledge Hub**, open **GitHub**, click **Connect**, and install the Wolfia GitHub app on the organization that owns your repositories.
2. Click **Manage repositories**, pick a repository and a branch, and check the folders and files to bring in.
3. Click **Save selection**. The first sync starts right away, and the files appear in the Knowledge Hub with their repository paths.

![The GitHub page in the Knowledge Hub listing synced files by repository path, grouped into Certifications & Audit Reports, Penetration Tests, Policies, Product & Architecture and Corporate & Business](/images/updates/github/synced-files.png)

## You choose exactly what Wolfia reads

Connecting GitHub syncs nothing by itself. A file syncs only when you check it or a folder above it, and a checked folder also picks up files added to it later. Source code is never synced, even when a whole folder is checked, and access is read-only, so Wolfia can never change a repository.

## Answers keep up with your merges

Synced repositories refresh every night, and **Sync now** runs a sync whenever you want one. Only files that changed since the last sync are processed again. When a file is unchecked or removed from the repository, its content leaves your knowledge base on the next sync. The facts in each file are used in questionnaire answers, chat and RFP responses.

## Later: every repository in one click

In November, sync was extended: **Sync all repositories** brings in every repository you can reach in one click, and a push now updates that repository right away.

![The Manage GitHub repositories dialog with the Sync all repositories button added in November](/images/updates/github/sync-all-repositories.png)

## Get started

Administrators, Experts and Integration Admins can connect GitHub. Your GitHub user needs to be a member of the GitHub organization that owns the repositories, and able to install GitHub apps on it.

[Read about the Wolfia knowledge base](/products/knowledge-base-agent)

## Questions

**Does Wolfia read our source code?**
No. Only document file types are accepted, so source files are never copied, even when a whole repository is selected.

**Which file types sync?**
Today Wolfia syncs Markdown, MDX, plain text, HTML, JSON, PDF, Word, Excel, PowerPoint, CSV, PNG, JPG, WebP and EML files.

**Does Wolfia train AI models on our repositories?**
No. Wolfia does not train or fine-tune any AI model on your data.

**Our organization is missing when we connect. Why?**
GitHub only lists the organizations your signed-in user belongs to. Ask an organization owner to invite you, or have someone who is already a member complete the setup.
