fix: 'refs/heads/master' doesn't exist on Windows
add Windows version of test_fetch file