fspec.</p>
</div>
</li>
<li>
<p>Using refspecs explicitly:</p>
<div class="listingblock">
<div class="content">
<pre>$ git fetch origin +pu:pu maint:tmp</pre>
</div>
</div>
<div class="paragraph">
<p>This updates (or creates, as necessary) branches <code>pu</code> and <code>tmp</code> in
the local repository by fetching from the branches (respectively)
<code>pu</code> and <code>maint</code> from the remote repository.</p>
</div>
<div class="paragraph">
<p>The <code>pu</code> branch will be u