get latest data by id from a git repo