Corrupted Git Repository (data stream error)

This question already has an answer here:

  • How to recover Git objects damaged by hard disk failure?

    7 answers

  • How do I fix these Git GC problems?
  • fatal: ambiguous argument 'origin': unknown revision or path not in the working tree
  • Bad commit to Git
  • Deduplicate Git Forks on server
  • why git-svn failed with signal 13?
  • What Are Some Actions In Git That Are Difficult/Impossible to Undo?
  • How do I get TeamCity to Merge master into Pull Request before each build?
  • gems error on windows - “openpath: pathname too long”
  • How can I make git am / git apply work “fuzzy” like the patch command
  • Cherry-pick a merge
  • git: Get absolute path of file, relative to repo
  • How to pack/publish a .NET Standard Library to a private VSTS Nuget feed?
  • One Solution collect form web for “Corrupted Git Repository (data stream error)”

    see if you can find a cloned repo and manually copy that object.

    Here is how you can move an object:

    http://www-cs-students.stanford.edu/~blynn/gitmagic/ch08.html#_the_object_database

    objects are zipped so you can’t just store the uncompressed contents directly into the objects directory.

    Git Baby is a git and github fan, let's start git clone.