> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Files at an exact Git commit

> Observe a bounded GitHub repository tree and retain blobs at one immutable commit.

Use the GitHub Git object API through `gitCommit("repository", credential,
label)`. Follow the [file app app guide](https://docs.bijection.com/integrations/native-sftp.md) and bind
the helper to the SFTP app's `provider`. Pass the same label to the receiver binder and as the app's `data`. Seal a credential with read access to
the selected repository.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "protocol": "git",
  "owner": "acme",
  "repository": "datasets",
  "commit": "<40 lowercase hexadecimal commit ID>",
  "directory": "exports",
  "token": "<GitHub token with repository contents read access>"
}
```

Use an empty directory for the repository root. The scope is fixed to
`api.github.com:443`, the reviewed repository, commit and optional directory.
Install a new source for a different commit. The app binds the commit's tree,
rejects truncation and checks every fetched blob against its tree entry and
Git object hash. It observes ordinary and executable blobs, keyed by relative
path. The cursor resumes after the last committed path in UTF-8 order.
The full recursive tree must fit 2,048 entries and 1 MiB of JSON. Files up to
1 MiB are retained through 24 KiB staged ranges. Larger blobs receive metadata.
The app does not track refs or infer deletions and does not follow symlinks
or submodules.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.