Also:
https://github.com/Hrily/TrackGit/blob/master/GitCommand/Clone.cpp#L17
should call Show() rather than Run(). That will take care of all the
necessary setup work for the window (including starting the message loop),
as well as showing the actual window itself.
Regards,
Rene