Windows disallows the use of colon (:
) in directory and file names, the colon being reserved for drive letters (C:\
...).
The symptom is simple: in Windows, git succeeds in cloning the repository, but then fails to checkout any branch, because it can't write on file, who has a colon in its path:
$ git checkout main
error: invalid path 'testsuite/arinc653/T-API-PART-0220:0010/test.c'
The workaround for me consisted in using "Linux subsystem" virtual machine (formerly known as "Ubuntu under Windows") to checkout the branch. The subsystem will use a different character as the colon, so that Windows don't complain. But it still doesn't allow to use Windows-native git tools (for example TortoiseGit).
A simple solution is to rename the faulty path to avoid it, for example with another dash (there are already 3 in the directory name), or with an underscore if it's important to have a different separator.
(Note: I didn't have the opportunity to try this test suite, so I don't know if this colon character is important or not, but I doubt it, since there is only one file with it.)