pull.sh edit so it checks status of git pull command