# PostGit

Tool for transferring data between Git (Git's Object DB) and Postgres.
- Use git history to populate tables and audit tables
- Use audit tables to populate git history
- Repo settings, notes, and other misc. info can be stored (and read by pygittools)

Fundamentally, a git repo unpacks into a single schema with the following tables:
- objects
- refs
And the following views:
- blobs
- trees
- commits
- tags (Note this refers to Annotated Tags, not a reference in `refs/tags/`.)
You can pack as many such schemas into a database as you want, but the default behavior of PostGit's PG Export is to create a new database and export to the "public" schema.