If you're working on a Windows machine and have the composer.bat in your $PATH (or %PATH%),
Cygwin's Mintty terminal as well as the Gitbash will still complain about composer not being a known command.
If you try to use composer from a Mintty/Gitbash terminal, you'll get something like: