This will get you a repository that automatically encrypts all files that you add to it and push.
- Get git and git-crypt and gpg
- Make sure you have a trusted private key in gpg
git-crypt initin the root of your repo
git-crypt add-gpg-user GPG_FINGERPRINT
- Create .gitattributes in the root of your repo
**/* filter=git-crypt diff=git-crypt