Git-Secret is a local tool (shell script) that encrypts the files when they're committed and before they're pushed using GPG keys.
Ranked in these QuestionsQuestion Ranking
Pro Built-in access management
Can revoke or add keys to allow or deny access to users without needing to change your keys or passphrase.
Pro Keeps track of encrypted files
git-secret encrypts files and stores them inside the repo, allowing you to keep track for every commit.
Pro Easy and straightforward usage
Once the user has its GPG RSA Key-pair ready, running
git secret init command will create
.gitsecret/ folder, where the secret files will need to be added with the command
git secret add <filenames...>, finally using
git secret hide, will encrypt the files using the keys added with
git secret tell command, then, they will be ready to be committed.