Here, "which involves typing in step-by-step commands for the computer to follow" is the non-restrictive relative clause providing extra information about coding. The commas indicate that this information is not essential to the main point of the sentence, which is that coding is a way of telling a computer what to do.