I am looking for an encrypted version control system . Basically I would like to
Have all files encrypted locally before sending to the ser
Use a distributed VCS and transport changes direct between different clients over encrypted links. In this scenario is no attackable central server.
For example with mercurial you can use the internal web server, and connect the clients via VPN. Or you can bundle the change sets and distribute them with encrypted mails.
You can export an encrypted hard drive partition over the network and mount it on the client side, and run the VCS on the client side. But this approach has lot's of problems, like:
There might be also other problems with variant B, so forget variant B.
Like @Commodore Jaeger wrote, use a VCS on top of an encryption-aware network file system like AFS.