Check git status and check if git remote repositories is updated