I realized that there were still some build files being added to git commits, so I went through the .gitignore file, and used the documentation on Microchip's website to determine what files should be ignored (https://microchipdeveloper.com/mplabx:version-control-working-with). I was able greatly simplify the .gitignore file, and completely block all the build files properly.
On a side note: I do not know why firmware/Documentation is ignored. Shouldn't Documentation be included in the commits?
I realized that there were still some build files being added to git commits, so I went through the .gitignore file, and used the documentation on Microchip's website to determine what files should be ignored (https://microchipdeveloper.com/mplabx:version-control-working-with). I was able greatly simplify the .gitignore file, and completely block all the build files properly.
On a side note: I do not know why firmware/Documentation is ignored. Shouldn't Documentation be included in the commits?