git pull git log message="$(git log)" $message if [[ $message == *"__post__"* ]]; then "It's there!" fi