What is the difference between 'origin' and 'remote' in git commands?
<p>In git lingo, are <code>origin</code> and <code>remote</code> the same thing? Or does <code>origin</code> refer to the local directory?</p>

<p>In the case of <code>git push -u origin master</code>: Which of the following interpretation is correct?</p>

<ol>
<li>"push everything upstream to the remote repo called 'origin' and its branch 'master'"</li>
<li>"push everything from the local originating repo called 'origin' to the upstream 'master' branch"</li>
</ol>

<p>Appreciate any clarification!</p>

<p>The answers to my question clarified two issues for me: </p>

<ol>
<li><code>origin</code> refers to the remote repo, rather than the local cloned copy of the remote repo. This is not clear when one reads that <code>origin</code>is an alias of <code>remote</code> and is created at the time of <code>git clone</code>  </li>
<li><code>origin</code> refers to the remote repo in <code>git push -u origin master</code> because local copies of the repo are implied and "rarely referenced".</li>
</ol>