'I am getting an error while creating readme.md file from seeing freshly created git repository code

Here is the error from my vscode terminal:

fatal: pathspec 'README.txt' did not match any files


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source