How do I configure a remote git repository in a dedicated server?

view full story

http://serverfault.com – I started using git very recently and still havent setup a remote repository before, so I am totally lost. This is my setup: I have a repository in my local machine, which I want to publish in our dedicated server (outside the local network). How do I setup a remote git repository in this server, with a security config and whatever else is necessary? (HowTos)