title: Create branch and push it git alias
body: <p>How do I make an alias that creates a local branch and pushes it upstream? I've tried </p>
  
  <pre><code>publish = !git checkout -b $1 &amp;&amp; git push -u origin $1
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>Switched to a new branch 'mybranch/test'
  error: dst ref refs/heads/mybranch/test receives from more      than one src.
  error: failed to push some refs to 'ssh://myurl'
  </code></pre>