You can clone with
HTTPS or Subversion.
file is a standard program for recognizing the type of data contained in a computer file.
I've been using the version from gnuwin32, over here: http://gnuwin32.sourceforge.net/packages/file.htm
The original sources are here: http://www.darwinsys.com/file/
Thanks. That looks like it'll work for Gow.