Use Git Hooks with Composer

Provide "post-checkout" git hook documentation that updates Composer's dependencies whenever a checkout is run.

http://book.git-scm.com/5_git_hooks.html