Hmmm. I don’t quite understand why Bitbucket is showing these as all lines changed. I was very careful on watching my commit changes to make sure my commits only have the required lines changed. There was no formatting, etc.
The only thing I can guess is line terminators (\n vs \r\n, etc.), but I’ve never had an issue with git remapping it before.