Funny little one this…
When running a git diff command I was getting horrible escape characters everywhere. Turns out this is because my terminal was in colour mode – (set up by the server admin) – and this was causing the escape characters.
Simply ran the git diff command with the –no-color option to get the output back to a nice normal diff output.