Although it only uses symmetrical encryption, the key provided can be so
substantial that there is no realistic threat of brute-force attacks
against these files stored within Git.
git-crypt - transparent file encryption in git
https://www.agwa.name/projects/git-crypt/