Full message of the error is this:
git failed with a fatal error. unable to checkout working tree clone succeeded, but checkout failed. you can inspect what was checked out with 'git status' and retry with 'git restore --source=head :/'
Here is the clues related.
I ran it in Visual Studio by copying the git HTTPS address into Visual Studio, not through the command prompt(I also checked on Intellij, but same error)
I confirmed that it works with other clones
The file is fine because I was able to run it in Remote SSH. (But I need to run in local Visual Studio)
I don't think it has to do with the size of the file name.
I tried with git LFS, but I am not sure how this works.
Is there any other possible reason that can cause this issue?
Thank you!