I have just started learing GIT. Follow their tutorial.
Now at the very beginning I got stuck with this error:
Fatal: pathspec \'file.txt\' did not match
Here you go! Very simple. Need to place the .txt file manually in the pwd mentioned folder...
suumapat@SUUMAPAT-IN MINGW64 ~/newproject (master) $ git add abc.txt fatal: pathspec 'abc.txt' did not match any files
suumapat@SUUMAPAT-IN MINGW64 ~/newproject (master) $ dir
suumapat@SUUMAPAT-IN MINGW64 ~/newproject (master) $ pwd /c/Users/suumapat/newproject
suumapat@SUUMAPAT-IN MINGW64 ~/newproject (master) $ dir abc.txt
suumapat@SUUMAPAT-IN MINGW64 ~/newproject (master) $ git add abc.txt