git-crypt

Transparent encryption/decryption of files in git repositories

brewmacoslinux
Try with needOr install directly
Source

About

Enable transparent encryption/decryption of files in a git repo

Commands

git-crypt

Examples

Initialize git-crypt in a repository$ git-crypt init
Encrypt files matching patterns in .gitattributes$ echo 'secrets.txt filter=git-crypt diff=git-crypt' >> .gitattributes && git-crypt status
Generate a key for sharing encrypted repository with teammates$ git-crypt export-key ../git-crypt.key