I tried to copy&paste the examples from the ebook with weird results. E.g. after typing “git log –numstat” git says “fatal: unrecognized argument: –numstat”.
I’m reading the ebook with Calibre on Windows 8.1 and there seems to be an issue with copying. I saved the copied command into a text file and inspected it with a hex editor. There it is:
Between last t of numstat (ascii code 74) and linefeed (OD OA on Windows) there were 3 more bytes that are the source of this problem.
Solved it by copying into an editor and deleting the last character (in this case t of numstat) and rewrite it, copy again and paste into git bash.
Edit: There seems to be an issue with the board also. numstats uses two dashes and I typed two dashes here. The board seems to remove one of the dashes…