type git &>/dev/null && exit