git-crypt
git-crypt enables transparent encryption/decryption of files in a Git repository.
Contents
Installation
Arch Linux
pacman -S git-crypt
Debian
apt-get install git-crypt
Usage
Add a user
git-crypt add-gpg-user <gpg-id>
Remove a user
Use the script remove-gpg-user.sh:
./remove-gpg-user.sh <gpg-id>
Export the key
Export key, base64 encode it and copy it to the clipboard
git-crypt export-key ./tmp-key && cat ./tmp-key | base64 | xsel --clipboard --input && rm ./tmp-key