Correcting the git log command to accept -p

See original source for explanation. Also added attribution
https://coderwall.com/p/euwpig