A script to log commits from a Git hook