Solution to the Git problem of loose object is corrupt
Link: Solution to the Git problem of loose object is corrupt: "This post documents how we can fix the problem of loose object is corrupt in git."
Very useful if this happens to you! Worked like a charm for me. Magic.