How do you git fetch all repos in a folder? I keep all the repositories I work on in a folder on my machine ~/Code, and I want a script to execute git fetch &amp;&amp; git status against each of the repos in that folder.

I imagine that, if it’s possible, it might look something like this pseudocode:

cd ~/Code
    &amp;&amp; for each subfolder in ~/Documents (git fetch &amp;&amp; git status)
    &amp;&amp; echo "here’s the repos with updated remotes:\n"
    &amp;&amp; echo reportReposWithRemoteChanges


I tried Tower which does not appear to offer this. I also tried GitHub Desktop, which provides irregular support for highlighting some local repositories whose remotes have updates.
People may answer git commands that does it, but looking at your intent towards GUI, here's my answer. 
I use SourceTree. It also gives the ability to add scripts as custom functions. fetch gives these options. It also has nice support for submodules. 



Here's a custom action that I use. I just picked up the condition code from stack overflow. But git would also exit if there are conflicting changes. 

cd "/Users/me/project/"
if git diff-index --quiet HEAD --; then
    # No changes
    echo "no changes"
else
    # Changes
    echo "changes"
    exit
fi

if [[ -z $(git status -s) ]]
then
    # No changes
    echo "no changes1"
else
    # Changes
    echo "changes1"
    exit
fi

git checkout master
make update
echo "made update"
git checkout feature
git rebase master
echo "rebased"
exit