simple bash script to check if git is up to date