I am working on a website, and I need to use Git for practical reasons. However, I think I have not totally understood how it works.
I want to do something quite simple, and I am working on localhost. I make several changes, and sometimes I use Git for put the new or modify files on the server.
Edit²:
after reading some docs, I have reinit all my git repositories. I really understand nothing to git.
So, I connect to my server, and I commit the files. After I reinit my local repository. I add my remote and I did git pull carpe master
(carpe is my alias for the remote server).
If I do git checkout master on local, I see all the paths from the tracked files from the server. But git did not download the files to the working tree...
I really do not understand. What should I do for getting the file in my local working tree ?