title: Breakdown of the 3 types of Github UI merges
body: <p>I have been using the Github UI for awhile to merge PR (pull requests), the UI looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/IOtpM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IOtpM.png" alt="enter image description here"></a></p>
  
  <p>I am trying to understand how these 3 things work more carefully. Here is my best guess as what these three options do:</p>
  
  <ol>
  <li>Create a merge commit</li>
  </ol>
  
  <blockquote>
  <pre><code>git merge &lt;base&gt; &lt;other&gt;
  </code></pre>
  </blockquote>
  
  <ol start="2">
  <li>Squash and merge</li>
  </ol>
  
  <blockquote>
  <pre><code>git merge --squash &lt;base&gt; &lt;other&gt;
  </code></pre>
  </blockquote>
  
  <ol start="3">
  <li>Rebase and merge</li>
  </ol>
  
  <blockquote>
  <pre><code>git rebase &lt;base&gt; &lt;other&gt;
  </code></pre>
  </blockquote>
  
  <p>Is this accurate? Or am I missing something?</p>