while read path; do
if [ -d "$path" ]; then # skip files `.git` - they're submodules
if [ "`basename \"$path\"`" = .git ]; then
while read path; do
if [ -d "$path" ]; then # skip files `.git` - they're submodules
if [ "`basename \"$path\"`" = .git ]; then