def cat_file_size(object)
      assert_args_are_not_options('object', object)

      command('cat-file', '-s', object).to_i
    end
Get the size for the given object

@see https://git-scm.com/docs/git-cat-file git-cat-file

@param object [String] the object to get the type

@return [String] the object type

@raise [ArgumentError] if object is a string starting with a hyphen