On The Server
cd /opt/git
mkdir newproject.git
cd newproject.git
git --bare init
On the Client
cd /home/user/projects
git clone git@gitserver:/opt/git/newproject.git
cd newproject
vim README
git add .
git commit -m 'added new README'
git push origin master