git diff: what is the difference between –cached and –staged April 24, 2023 by Tarik The documentation for git diff says “--staged is a synonym of –-cached“, so yes.