Fix Gruntfile.js for good
Put git post-checkout inside hooks folder instead.