code: func (d *DotGit) ObjectStat(h plumbing.Hash) (os.FileInfo, error) {
  	err := d.hasObject(h)
  	if err != nil {
  		return nil, err
  	}
  
  	obj1, err1 := d.fs.Stat(d.objectPath(h))
  	if os.IsNotExist(err1) && d.hasIncomingObjects() {
  		obj2, err2 := d.fs.Stat(d.incomingObjectPath(h))
  		if err2 != nil {
  			return obj1, err1
  		}
  		return obj2, err2
  	}
  	return obj1, err1
  }
docs: // ObjectStat returns a os.FileInfo pointing the object file, if exists