A too long file name is an issue while cloing any git repo. We can set a git property longpaths=true to allow the too long file name for git. Following the command and their scope.
For all users
git config --system core.longpaths trueFor current user
git config --global core.longpaths trueOnly for current clone
git clone -c core.longpaths=true