d write:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>$ git checkout -- hello.c</pre>
</div>
</div>
</li>
<li>
<p>After working in the wrong branch, switching to the correct
branch would be done using:</p>
<div class="listingblock">
<div class="content">
<pre>$ git checkout mytopic</pre>
</div>
</div>
<div class="paragraph">
<p>However, your "wrong" branch and correct <code>mytopic</code> branch may
differ in files that you have modified locally, in which case
the above checkout would fa