Made some progress, still not sure why the line terminator isn't getting replaced
Each line from git log is parsed now