What does HackerNews think of git-crypt?

Transparent file encryption in git

Language: C++

I hesitate to append this but one option I have seen thrown around and also debated is git-crypt [1] Here [2] is a discussion on HN about git-crypt. There are many caveats to doing this as any integrations that would need to read the file contents would also need to be able to decrypt the files so this may not be entirely useful and may add many levels of complexity and fragility. In theory one could encrypt specific files and then check them into any of the cloud hosted git repositories but anything that needs to read the contents of the file will need a mechanism to decrypt them automatically. That thread also mentions transcrypt [3]

If doing this I would strongly recommend also having a local non-encrypted weekly snapshot of your files in the event that nobody is able to decrypt your committed files.

[1] - https://github.com/AGWA/git-crypt

[2] - https://news.ycombinator.com/item?id=7508734

[3] - https://github.com/elasticdog/transcrypt