git-diff Command Documentation, The Git Community, 2024 (The Git Community) - The official and most complete reference for the git diff command, its parameters, and output format.
Pro Git, Scott Chacon and Ben Straub, 2014 (Apress) - An authoritative book on Git, offering a comprehensive explanation of Git concepts including detailed coverage of git diff.