anchor.diff:      goto end
   )
   if /i '%1'=='list' (
  -    rem Iterate through all the directories in the repoo folder and print them
  -    echo List of repositories tracked by GitBox:
  -    for /f "Delims=" %%d in ('dir /AD /B "%repos%"') do (
  +     rem Get the group name or the default (all) and indentation (internal)
  +    set group=%~2
  +    if '%2'=='' set group=.
  +    set indent=%~3
  +    if '%3'=='' (
  +        set "indent= "
  +        echo List of repositories tracked by GitBox:
  +    )
  +    
  +    rem Iterate through all the groups in the requested folder and print them
  +    for /f "Delims=" %%d in ('dir /AD /B "%repos%\!group!"') do (
  +        set folder=%%d
  +        if not '!folder:~-4!'=='.git' (
  +            echo !indent!+ !folder!
  +            call %0 list "!group!/!folder!" "  !indent!"
  +        )
  +    )
  +    
  +    rem Iterate through all the repositories in the requested folder and print them
  +    for /f "Delims=" %%d in ('dir /AD /B "%repos%\!group!"') do (
           set dir=%%d
  -        echo  - !dir:~0,-4!
  -    )
  -    pause
  +        if '!dir:~-4!'=='.git' (
  +            echo !indent!- !dir:~0,-4!
  +        )
  +    )
  +    if '%3'=='' (
  +        pause
  +    )
       goto end
   )
   if /i '%1'=='create' (
  
positive.code: )
  
  rem If git was found, execute any requested operation, or simply start the git shell
  set PATH=%git_root%\bin;%git_root%\cmd;%PATH%
  set PLINK_PROTOCOL=ssh
  if "%HOME%"=="" (
      set HOME=%USERPROFILE%
  
negative.code:         if exist %%p\bin\git.exe set git_root=%%p
      )
  )
  rem If the git couldn't be found, offer to install it
  if %git_root%==undefined (
      echo GitBox couldn't locate a valid git installation.
  