Implemented automatic checking for updates if git is installed.