Git commit error: failed to insert entry: invalid object specified [object name]

Hello Automators,

I pulled down a project from a Git repository built by another team member, and made minor updates to the file. I’m attempting to push the file back up to the repository, but I’m getting a strange error: failed to insert entry: invalid object specified - .

The object’s name is randomly one of the objects included in the push, usually the project.json file or one of the included .xaml files. Each time I attempt the same commit, the error comes back with a new object mentioned in the message.

Has anyone seen this type of error before? Thank you!