So no, Githib is not a metric for enterprise development.
And you are right Winforms is legacy, all modern Windows applications are written in WPF.
I have been doing it the last 4 years, and dispite the HN Web bubble, out there in the enterprise there are companies actually adopting UWP and migrating their laptop fleet to Windows 10.