Git Tutorial - Diff to Compare Differences
We will show you how to view the changes or differences between your work copy, which is the files that you’re working on in the main files, and the repository. In the second part, we will demonstrate how to compare between the staging area and the repository. Check Differences Between Working Copy and the Repository Once we saved a file, this file on a working copy is different from the one in our repository.