skillfed

git-remote-s3

A git remote helper for Amazon S3

git-remote-s3 v0.3.2 178.8K downloads/30d#10,187 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

git-remote-s3 is a Python-based git remote helper that allows you to use an Amazon S3 bucket as a fully functional Git repository without running a dedicated Git server. It implements the git remote helper protocol to intercept S3-prefixed URLs (s3://, s3+zip://) and translates Git operations into S3 API calls via boto3. The package also provides a git-lfs custom transfer implementation, enabling you to store large files managed by Git LFS in the same S3 bucket alongside your repository data.

The tool is designed for serverless Git workflows where you want to avoid infrastructure overhead. It supports standard Git operations—push, pull, clone, branching—and integrates with AWS CodePipeline by optionally creating zip archives of your repository. Access control is enforced through IAM policies at the bucket, prefix, or KMS key level, and data is encrypted at rest and in transit by default. It requires Python >= 3.10 and AWS credentials with appropriate S3 permissions.

Use it for:

  • Store private Git repositories in S3 without managing a Git server, using IAM for access control.
  • Integrate Git repositories with AWS CodePipeline by pushing to s3+zip:// URIs to generate deployment-ready archives.
  • Host multiple Git repositories in a single S3 bucket using prefixes, each with separate IAM permissions.
  • Store large binary files via Git LFS in S3 alongside your repository, avoiding separate LFS infrastructure.
  • Enable Git workflows in CI/CD pipelines running on AWS Lambda or EC2 with S3-based source control.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Enables Git to use Amazon S3 as a remote repository and LFS server, implementing a git remote helper and git-lfs custom transfer protocol.

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a specific problem—serverless Git hosting on S3—with a permissive license. Install it if you need S3-backed Git repositories and have AWS infrastructure already in place; skip it if you prefer traditional Git hosting or don't use AWS.

Install

git-remote-s3 on PyPI

pip

pip install git-remote-s3

uv

uv add git-remote-s3

poetry

poetry add git-remote-s3

Installing git-remote-s3

Before you install

Low install friction with a pure Python wheel distribution. Actively maintained with recent releases. Depends on boto3, botocore, and urllib3—all widely used AWS SDK libraries with stable maintenance.

License in practice

Apache-2.0 is permissive; you may use, modify, and distribute this package freely in commercial and private projects without significant restrictions.

Quickstart

pip install git-remote-s3

# Then configure git to use S3 as a remote:
git remote add origin s3://my-bucket/my-repo
git push origin main

Requires Python >= 3.10. AWS credentials must be configured (via AWS CLI, environment variables, or IAM role) with S3 permissions (s3:PutObject, s3:GetObject, s3:DeleteObject, s3:ListBucket).

Verify before relying

  • Performance characteristics when handling large repositories or concurrent writes to S3
  • Compatibility with specific Git versions or workflows beyond the documented examples

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — boto3, botocore, urllib3
Maintenance actively maintained — 153 days since the last release
First released
Downloads 178,795/month — #10,187 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: git_remote_s3-0.3.2-py3-none-any.whl

Topic :: Software Development :: Version ControlTopic :: Software Development :: Version Control :: Git

Tags

git s3 remoteserverless git repositorys3 git hostinggit lfs s3 storageamazon s3 git remote helper
aws-integrationgit-hostinglfs-support

More Version Control packages