As a workaround, you can tell git to use a different git-dir folder that&#x27;s not within the working copy:<p><a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;505467&#x2F;can-i-store-the-git-folder-outside-the-files-i-want-tracked&#x2F;505517" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;505467&#x2F;can-i-store-the-gi...</a>