i am writing my notes here so i wont forget this. if i need to compare the working area with the staging area, all i have to do is use this command
git diff

as you can see, i have not provided any commit ids to the diff command, git automatically assumes if you did not enter a commit id, to compare the staring area wit the working area.


you can learn more https://www.youtube.com/watch?time_continue=145&v=qdR5B6Pl-ks