title: Git metadata - is there a way to add git metadata that is independent of each branch?
body: <p><strong>End goal:</strong> I want to have files that are tracked by Git, but have those files be the <em>same version for all branches</em>. If you gitignore files, those are the same for all branches, but unfortunately aren't tracked. When I run <code>git push</code> or the like, I need these files to passed between repos, etc.</p>
  
  <p>For example, the data that is in .git folder is typically git-ignored. I want to add some data to my repo so that the data is independent of all branches, but still appears in all branches, and when you clone the repo, the data shows up.</p>
  
  <p>Is this possible? So for example, if the <code>.git</code> dir looks like:</p>
  
  <pre><code>.git/
    branches/
    hooks/
    objects/
    config
    HEAD
    index
  </code></pre>
  
  <p>I was thinking of adding a folder:</p>
  
  <pre><code>.git/
    .oresoftware/
  </code></pre>
  
  <p>and putting my data in there, where that data is independent of all branches.</p>
  
  <p>I don't think this will work, because the data in the .git repo isn't really tracked. I am looking for something that's tracked by git, but is the same for all branches...</p>
  
  <p><strong>Update</strong>: After reading the answers and thinking about this for awhile, I thought maybe if I amend the initial commit with new files, then it could magically work, but of course that's not how Git works, each commit is a total snapshot, so changing historical commits after the fact won't change newer ones.</p>