Burnt Wire

Disclaimer... I’m not an expert, by all means, but I’ve been dealing with mucho electrical problems. What gauge wire did you use for the new battery wire? Is it larger than your battery ground and any other main ground wires? It’s possible that you need to up your ground wire gauge. Hopefully an expert answers as well.
Yes, I got a new wire from a buddy and it is larger than the original and the ground wire. But why would that burn out that wire to nowhere? Oh, the ammeter gauge went to -40 when I turned the key.