Added helper function for checking GIT repositories whether sources have been updated or not.