git () { if [[ $1 = push && $2 = origin && $3 = master ]]; then read -p 'Are you sure? '; if [[ $REPLY != [yY] ]]; then return 1; fi; fi; command git "$@" }