You're trying to list all files and folders(including hidden ones) in default terminal in vscode. First change it to Git Bash. To do so, click on the +icon on the top right corner of the default terminal and then choose the bash.
Now write the ls -la command on bash again and it will work. But make sure you changed your direction using cd command into the correct directory that you're working with.