first you have to break a block of dirt then trade.
next get 2 cobblestone and trade for TWO things.
third kill a zombie and skeleton and trade the bone and flesh.
now you are not god but its still a pretty nice villager
Note: Minify the command to avoid issues :)