You can just set up an ssh server and run a central repository there. All developers then simply agree (as a matter of policy) to push to the server when they are done making commits. This is the usage pattern at my workplace. Very CVS and SVN-like.
- Find somewhere to put the repository (
- Create a new repo (
mkdir project.git && cd project.git && git init --bare --shared=group).
- Then on your client, clone the remote repo (
git clone ssh://yourserver.com/var/gitroot/project.git && cd project)
- add some files (
git add README)
- commit (
git commit -m "Initial import"),
- push (
git push origin master)
This should set things up for you.