A 22 GB .git Folder, "wrong index v1 file size", and a Commit That Never Happened
My .git folder was 22.7 GB and every git command failed with "wrong index v1 file size". The cause was a year-old git add. Here are the checks and the six commands that fixed it.
