With git I can use glob style pathspec patterns to match a single folder without its subdirectories:
git status \':(glob)*\' // matches root but no subd