Move git config checking into subcommands that need it's

This fixes #47.