Update deploy.sh

added git/branch validaiton