Added post-checkout example script

This is analagous to the pre-commit script that applies metadata
automatically after a git checkout.

Note that this script uses the -E option added in pr#15.