Developing code on Nsight Eclipse Edition Without the Inetnet ,using Git local sever

Hello everyone,I am trying building samples code on TX1, using remote building and runing.
I tried remoting building with A router connected to the Inertnet, NEE uses Git and SSH to exchange code and information with TX1.
But in my laboratory ,I can not connect my host and device to the Inertnet for confidentiality reasons.
So NOW I want to set up a local Git server on my HOST. And I can use it to exchange code between PC Host and TX1 on NEE
Can you give me some help?