The forwarding might be related to this post: Forwarding, SPF and SRS
The repo you have isn’t a fresh clone. It’s the one from curl -s https://mailinabox.email/setup.sh | sudo bash
. I can tell from the: Not currently on any branch.
You now have modified files there. When you want to upgrade it will give some errors. It’s fine for now