So I am very unfamiliar with Git and I have been trying to figure out how to get some of my projects that I have done to a ****** so I can share some of the coding for people who want it / for collaboration.

If I have a directory on my computer with all of the files I want added, and a repository created on ****** how do I make a local repository out of it so and then move it to the server?

I've tried a few tutorials, but I keep doing something wrong