#!/bin/bash
# Loop through each subfolder in the current directory
for folder in */; do
if [ -d "$folder" ]; then
echo "Output for $folder:"
(cd "$folder" && echo "Remotes:" && git remote -v && echo "Branches:" && git branch)
fi
done