How to distinguish Cygwin and Git for Windows in a running bash script?

uname="$(uname)"
case "${uname}" in
	CYGWIN*)	title='Cygwin';;
	MINGW*)		title='Git for Windows';;
	*)			title='Unknown'
esac

stackoverflow.com/a/3466183