git-crypt

Transparent file encryption in git

Install

All systems
curl cmd.cat/git-crypt.sh
Debian Debian
apt-get install git-crypt
Ubuntu
apt-get install git-crypt
Arch Arch Linux
pacman -S git-crypt
image/svg+xml Kali Linux
apt-get install git-crypt
Fedora
dnf install git-crypt
Windows (WSL2)
sudo apt-get update sudo apt-get install git-crypt
OS X
brew install git-crypt
Raspbian
apt-get install git-crypt

git-crypt

Transparent file encryption in git

git-crypt enables transparent encryption and decryption of files in a git repository. Files which you choose to protect are encrypted when committed, and decrypted when checked out. git-crypt lets you freely share a repository containing a mix of public and private content. git-crypt gracefully degrades, so developers without the secret key can still clone and commit to a repository with encrypted files. This lets you store your secret material (such as keys or passwords) in the same repository as your code, without requiring you to lock down your entire repository.