title: git config settings to automatically create remote branch with same name
body: <p>I used to have my git set up very nicely where it would automatically push to the remote branch with the same name when I ran <code>git push</code>, and automatically pull when running <code>git pull</code>.</p>
  
  <p>I tried to show a friend how to do this and in the process managed to break my own config. How can I get back to the functionality I'm looking for? I've tried a bunch of configs, but each has its problems.</p>
  
  <p>I currently have this in <code>~/.gitconfig</code>:</p>
  
  <pre><code>[push]
      default = current
  [branch]
      autoSetupMerge = always
  </code></pre>
  
  <p>But when I create a new branch locally, then commit and push, it says "Everything up-to-date". If I then run <code>git push origin &lt;branch_name&gt;</code> it does push the changes.</p>
  
  <p>These settings don't seem to do the trick either:</p>
  
  <pre><code>[push]
      default = matching
  [branch]
      autoSetupMerge = always
  </code></pre>