git cannot stat filename too long code example
Example 1: filename too long git
git config --system core.longpaths true
Example 2: git clone with long file names
git clone -c core.longpaths=true <repo-url>
git config --system core.longpaths true
git clone -c core.longpaths=true <repo-url>