While cloning a git repository from Linux to a Windows system, I am getting the following error in checkout the phase:
$ git clone gituser@serveraddr:
The only suggestion I saw, considering a similar issue, was:
Workaround: use http://www.cygwin.com/
Or at least check if a checkout in a git-bash session of msysgit works better.
Update May 2015 (2 years later):
Note: the latest 2.4.1 git-for-windows proposes:
core.longpaths::
Enable long path (> 260) support for builtin commands in Git for Windows.
This is disabled by default, as long paths are not supported by Windows Explorer, cmd.exe and the Git for Windows tool chain (msys, bash, tcl, perl...).
Only enable this if you know what you're doing and are prepared to live with a few quirks.