title: What is the git equivalent of hg summary?
body: <p>What is the git equivalent of 'hg summary'? Especially 'hg summary --remote' ??</p>
  
  <p>I've seen translations for 'hg in', 'hg out', and a bunch of other translated commands, but I never see 'summary'. I'm lazy and want to know everything 'hg summary --remote' would tell me in one simple command. Will I have to write a custom script, or will git tell me that?</p>
  
  <p>For reference, here is what the 'hg summary' command does:
  From <a href="http://www.selenic.com/hg/help/summary" rel="nofollow noreferrer">https://www.mercurial-scm.org/repo/hg/help/summary</a></p>
  
  <blockquote>
    <p>hg summary [--remote] </p>
    
    <p>aliases: sum </p>
    
    <p>summarize working directory state </p>
    
    <p>This generates a brief summary of the working directory state,
    including parents, branch, commit status, and available updates. </p>
    
    <p>With the --remote option, this will check the default paths for
    incoming and outgoing changes. This can be time-consuming. </p>
    
    <p>Returns 0 on success. </p>
    
    <p>options: </p>
    
    <p>--remote check for push and pull</p>
  </blockquote>
  
  <p>also <a href="https://www.mercurial-scm.org/wiki/QuickStart" rel="nofollow noreferrer">from the quickstart guide</a></p>
  
  <blockquote>
    <p>The 'summary' command will summarize the state of the working
    directory. Command names may be abbreviated, so entering just 'hg sum'
    is enough: </p>
  
  <pre><code>$ hg sum
  parent: 9632:16698d87ad20 tip
   util: use sys.argv[0] if $HG is unset and 'hg' is not in PATH
  branch: default
  commit: (clean)
  update: (current)
  </code></pre>
    
    <p>Here commit: (clean) means that there no local changes, update:
    (current) means that the checked out files (in the working directory)
    are updated to the newest revision in the repository.</p>
  </blockquote>