tests-clar: ifdef GIT_WIN32 win helper functions