title: What does GitHub for Windows' "sync" do?
body: <p>With GitHub for Windows, you can "publish" a branch, and then "sync" that branch to GitHub.</p>
  
  <p><img src="https://i.stack.imgur.com/6NPCm.png" alt="enter image description here"></p>
  
  <p>Is the sync basically a <code>git pull</code> and <code>git push</code>? Or is there more to it? If I wanted to do the exact same steps as "sync" from the command line, what should I do?</p>
  
  <p>(It's not Open Source, or I'd just read that.)</p>