Question: I'm trying to write a trigger on ContentDocument to align file access rights to the different user. I can align file access rights to the user when I upload a new version of the file. But to align the rights after I have uploaded a new file, the afterInsert trigger is not fired. Is there no afterInsert trigger on ContentDocument and do you know another way to implement that?

Answer: 
I'm also a consultant. We don't see a need to mess with the Ant tool or any of that nonsense. We utilize MavensMate and Sublime Text 3 along with the sourceTree or the git client of your choice. 

MavensMate handles the local <--> sfdc connection and git takes care of the rest. If you're not set on a fancy gui for git you can even do everything inside SublimeText 3. 

I highly recommend it!
You could accomplish this with `ant` and the Metadata Toolkit.

1. Install Apache Ant.
2. Install Metadata Toolkit into Ant.
3. Install git.
4. Configure git.
5. Create build.properties, build.xml, and package.xml.
6. Pull initial set of classes, components, etc using sf:retrieve.
7. Commit initial repo for git.

At this point, you've got a working baseline. Ant can manage all of your code needs, such as:

```
ant sfdcToCommit # Retrieve from SFDC, and stage or commit git
ant revertSfdc   # Revert to last git revision and save back to SFDC

```

The limits of this model is basically your imagination.

I haven't personally implemented this (never crossed my mind until just recently), but it's safe to say we have all the necessary tools to effectively do this.