Transfering git branch to another computer and tracking correct branch
<p>So I think I know how to do this but am not sure!</p>

<p>There is a project for which I have branch I've been working on to make a website responsive for mobile.  I set the branch up to track the <code>origin/prod</code> and now I've changed my computer and need to pull that branch down so I can continue to work on it from my new development environment.</p>

<p>When I created the branch on my old PC I ran:</p>

<pre><code>$ git checkout -b rwd-theme origin/prod
</code></pre>

<p>When I check the remote branch with:</p>

<pre><code>$ git branch -av
remotes/origin/rwd-theme             d6ea17d themeing header
</code></pre>

<p>Now I think on my new computer I need to run this command:</p>

<pre><code>$ git checkout -b rwd-theme origin/rwd-theme
</code></pre>

<p>Is this correct?  Will it still track the origin/prod on my new local environment?</p>