title: How to push bare repo branches to another remote?
body: <p>I'm using the decentralized workflow (Central + Fork). On occasion, I'd like to fast-forward all of my remote branches on my fork with the latest changes from their corresponding branches on the central repository.</p>
  
  <p>I've created a second clone of my central repository that is just a bare version. With a single <code>git push</code> command, is it possible to push all branches to the fork? I know wildcards can be used in push, but I haven't been able to get it to work. For example, I tried this (I have two remotes on my bare repo, 'upstream' and 'origin'; origin points to my fork, and upstream is the central repo:</p>
  
  <pre><code>git push origin refs/remotes/upstream/*:refs/heads/*
  </code></pre>
  
  <p>I still find git's refspec confusing. Specifically, I'm not sure what namespaces are for what. I'm assuming all remote branches are stored under <code>refs/heads/*</code>.</p>