ss="sectionbody">
<div class="paragraph">
<p>Updates files in the working tree to match the version in the index
or the specified tree.  If no paths are given, <em>git checkout</em> will
also update <code>HEAD</code> to set the specified branch as the current
branch.</p>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1"><em>git checkout</em> [&lt;branch&gt;]</dt>
<dd>
<p>To prepare for working on <code>&lt;branch&gt;</code>, switch to it by updating
the index and the files in the working tree, and by poin