@RWB If you have GitHub for Windows installed - which I highly recommend - see another option here:
Bottom line: Use the "Git Shell" app/shortcut to open a Git-aware command line that recognizes the commands above, instead of opening a "normal" command line that does not.