title: Git command within ignored folders - can it truly ignore that it is within a git repo?
body: <p>I'm having a git repo setup in my main users directory in order to sync configuration among my computers like so:</p>
  
  <pre><code>/Users/myusername/.versionedConfigFile
  /Users/myusername/myOtherFolders &lt;-- to be igored
  /Users/myusername/projects/somerepo/.git &lt;-- to be igored
  </code></pre>
  
  <p>Besides these configuration file I want everything else to be ignored in my git repo, which is why my .gitignore looks like this:</p>
  
  <pre><code>   *
     !.gitignore
     !.versionedConfigFile
  </code></pre>
  
  <p>While .gitignore allows me to exclude all my other files from <em>tracking</em>, I can still see that I'm in a git repository when I cd into "myOtherFolders" for example and running git commands like "git status". I would prefer to see "not a git repository" here to not get confused when working with other git repos in my directory tree (which still works of course). </p>
  
  <p>Is there a way to "truly" exclude the folders from the .git repository?</p>