</div>
<div class="paragraph">
<p>See <a href="gitrepository-layout.html">gitrepository-layout(5)</a> for more information. The rule of
thumb is do not make any assumption about whether a path belongs to
$GIT_DIR or $GIT_COMMON_DIR when you need to directly access something
inside $GIT_DIR. Use <code>git rev-parse --git-path</code> to get the final path.</p>
</div>
<div class="paragraph">
<p>If you manually move a linked working tree, you need to update the <em>gitdir</em> file
in the entry&#8217;s director