title: git - recover from bad tree object?
body: <p>I migrated a repository both locally and the remote, and now I am unable to push (or do much of anything) because of a bad tree object,</p>
  
  <pre><code>&gt; git push
  error: Could not read 4218a5a380d8b6cbc7f461c22cb48ed66a92c850
  fatal: bad tree object 4218a5a380d8b6cbc7f461c22cb48ed66a92c850
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p><code>4218a5a380d8b6cbc7f461c22cb48ed66a92c850</code> doesn't exist on my filesystem,</p>
  
  <pre><code>&gt; dir 4218a5a380d8b6cbc7f461c22cb48ed66a92c850 /s /p
   Volume in drive C is OS
   Volume Serial Number is xxxxxxxx
  File Not Found
  </code></pre>
  
  <p>I have all my source code files.  Is my only option now to nuke the git repo and start the history over again?</p>