diff current working copy of a file with another branch’s committed copy October 15, 2022 by Tarik The following works for me: git diff master:foo foo In the past, it may have been: git diff foo master:foo