update_gitdata_info with two arguments