I downloaded Git setup and trying to setup for computers in my network. I searched for the process but I found it for to host code on line on github.com. I found a few links
You have to create a repository on the server side. Go to the folder which should be the repository and execute:
git init --bare
Then you have to clone the repository on your client with:
git clone user@gitserver:/path/to/your/folder
Watch this for further information.