stat(1) -c %G $HOME/projects/*/
display file or file system status
-c  --format=FORMAT
       use the specified FORMAT instead of the default; output a newline after each use of FORMAT
stat [OPTION]... FILE...
source manpages: stat