I can not commit a change:
$ git commit error: invalid object 100644 13da9eeff5a9150cf2135aaed4d2e337f97b8114 for \'spec/routing/splits_routing_spec.rb\' err
If the problematic file is being added by your change you can just remove it from the index and add it again:
git reset git add