See changes between remote and local repository in Git | Mahdi Hazaveh
in many cases you are not sure whether the files you have on your local machine are newer or older than the ones in the remote repository. Specially when you are working with different people or you h