---
title: "Git and GitHub to keep your research"
description: "How to keep family research for free in git on GitHub: the history of all changes, a backup, a private repository, what to commit and what not, how an agent works with it."
lang: en
url: https://predok.ai/en/w/tools/git
updated: 2026-11-23
---

# Git and GitHub to keep your research

**Git** is a program that remembers each change to the files in a folder: what changed, when and why. **GitHub** is a site where such a folder (a repository) can be kept for free, privately as well. For family research this means:

- **the history of all changes**: you can see when and on what grounds a fact appeared, and bring back what was deleted;
- **a backup** outside your computer;
- **collaboration**: several relatives or an agent work on the same research;
- **independence** from tree sites: the files are yours, in an open format.

## What to keep

```
rodovid/
  README.md            ← what the research is about, the main questions
  research-log.md      ← the research log (or a .csv table)
  people/              ← notes on people: facts with sources and confidence level
  sources/             ← extracts and transcriptions of records with call numbers
  todo.md              ← open tasks
```

Or a [GLX](https://predok.ai/w/tools/glx.md) archive: it creates the folders and the git repository itself.

**Scans** are large. GitHub does not accept files larger than 100 MB and advises keeping a repository small ([GitHub limits](https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github)). So put extracts and links to scans (archive, call number, address) into git, and keep the scans themselves separately, for example on a disk or in cloud storage.

## Privacy

- Make the repository **private** if it contains living people, contacts of relatives, DNA results.
- Only what concerns the deceased and is taken from open sources can be made public.
- Do not keep passwords and access keys in the repository.

## How to start

The simplest way — without the command line:

1. Register on [GitHub](https://github.com) and [create a private repository](https://github.com/new).
2. Install [GitHub Desktop](https://desktop.github.com/) — a program with buttons instead of commands — and clone the repository into a folder on your computer.
3. Work with the files in this folder; after each step press "Commit" with a short description ("Oleske metric books 1885: Ivan's birth found") and "Push".

If an AI agent works with you in an environment with access to files (Claude Code, Codex and so on), it can do this itself: only [git](https://git-scm.com/downloads) and a GitHub sign-in on your computer are needed.

## Good habits

- One document examined or one step — one commit with a clear description.
- In the commit description — the source: "DAZhO, f. 1, inv. 78, file 94: Ivan's baptism".
- Do not silently delete a rejected version: mark it as disproven and explain ([hypotheses](https://predok.ai/w/principles/hypotheses.md)).

## For agents

- Offer git when the user keeps the research in files and wants not to lose work; install and set it up only with permission.
- A repository with living people — private only. Before creating a public one, ask and check the content.
- Commit in small steps with a description of the source. Do not commit scans of more than a few megabytes, passwords, tokens, DNA exports.
- Do not `push` to other people's repositories and do not change access settings without a direct instruction.
