title: Git status in regards to multiple remote repositories
body: <p>I have a script which emails me a reminder if I've forgotten to commit or push some code on each of my 40+ repositories.</p>
  
  <p>With 2 of my projects, I have followed the answers in these posts, where I have set-up "git-push" to push to multiple repositories:</p>
  
  <blockquote>
    <p><a href="https://stackoverflow.com/questions/849308/pull-push-from-multiple-remote-locations">pull/push from multiple remote locations</a></p>
    
    <p><a href="https://stackoverflow.com/questions/4255865/git-push-to-multiple-repositories-simultaneously">git push to multiple repositories simultaneously</a></p>
  </blockquote>
  
  <p>So I have a .git/config file with:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [branch "master"]
      remote = origin
      merge = refs/heads/master
  [remote "origin"]
      url = https://www.example.com/git/project/
      url = git@github.com:username/project.git
  [remote "example"]
      url = https://www.example.com/git/project/
      fetch = +refs/heads/*:refs/remotes/example/*
  [remote "github"]
      url = git@github.com:username/project.git
      fetch = +refs/heads/*:refs/remotes/github/*
  </code></pre>
  
  <p>This works well when it comes to doing a git push/pull.</p>
  
  <p>With the script I have used:</p>
  
  <pre><code>git status --short
  </code></pre>
  
  <p>But this only shows un-commited changes... even without the "--short" flag, it does not show what normally appears with only 1 remote:</p>
  
  <pre><code>Your branch is ahead of 'origin/master' by 1 commit.
  </code></pre>
  
  <p>Trying to run any of the following "diff" commands also doesn't seem to work... well it does on the first time, but it seems to remember the remote files at the date/time when it was setup, so as you make more changes it compares them against that version in history:</p>
  
  <pre><code>git diff --name-status "origin";
  git diff --name-status "origin/master";
  git diff --name-status "example/master";
  git diff --name-status "github/master";
  </code></pre>
  
  <p>Any thoughts? I am fairly new to Git.</p>