See changes between remote and local repository in Git

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 have different development environments. the easy solution for this is to use git fetch command to check what …