title: How can I tell what versions of MinGW32 and MinGW64 (via Git Bash) I have installed?
body: <p>When I originally installed Git for Windows, I (somehow) ended up with two copies of Git Bash - one running MinGW32, one running MinGW64.</p>
  
  <p>Given there's no command like <code>mingw --version</code> I could run, how can I determine what versions of these packages I currently have installed? I've been having some trouble with MinGW64 and wanted to see if there was a newer version available than what I have currently.</p>
  
  <p>(For what it's worth, the latest version of MinGW64 for Windows appears to be 3.3.0 (<a href="https://mingw-w64.org/doku.php/download" rel="nofollow">source</a>) although I'm not entirely certain whether I should be looking at the Win-Builds downloads or not - anyway, that's probably a separate question.)</p>
  
  <p>To get the version, I've tried:</p>
  
  <ul>
  <li><p>Checking the icon context menu in each console window. MinGW64's options has an About window that says 'mintty 2.0.3'. mintty seems to be a terminal emulator for Cygwin (I also have Cygwin installed). MinGW32's properties doesn't seem to have a visible version number.</p></li>
  <li><p>Looking for a <code>gcc</code> executable in either of the terminal's <code>bin</code>'s that I could run with the <code>--version</code> flag; neither of them have it (and I'm not sure either how tightly gcc is integrated with the terminal).</p></li>
  <li><p>Running <code>sh --version</code>. On MinGW64 I get version 4.3.42 of GNU bash, and on MinGW32 I get version 3.1.23 of GNU bash. However, I don't think this is the version number of the respective MinGW projects.</p></li>
  </ul>
  
  <p>What am I missing?</p>