git add --global core.longpaths true 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>