git: shut up the error message if the git repository is not a git repository
git: add missing argument to vcs_definition_for
git: better detection of uncommitted changes

This now detects if there are staged changes that are not committed