I am looking for an encrypted version control system . Basically I would like to
Have all files encrypted locally before sending to the ser
Have a look at GIT. It supports various hooks that might do the job. See, git encrypt/decrypt remote repository files while push/pull.