More useful/hinting error messages in git-checkout