I am right now learning to work with git. I am still very confused, because usually I have for example my index.php
file on my server. I open it with my ftp client and make a change with my text editor. If I save it, I can just open www.mywebsite.com and I will see my changes online. It is simple and easy.
As far as I learned now, I can only make git Repositories local on my computer. So to make my file be online all tutorials tell me I need to use gitHub or something similar. But I just simply want to use my own server. It seems to be very complicated to connect my local directory now with my directory on my server.
My question is now, is it possible to use git directly on my own server (without a complicatied initialization?) Or do I need to use git hub, if I am not an expert.