Setting up a git repository on a server

authenticationgitgithubrepositorysingle-sign-on

I read through the other git questions here but couldn't really follow whether they are trying to do the same thing as I am. So if you find any duplicates, please let me know.

I have a central server with SSO installed. All my machines are connected through the lan to this server. I have also setup a remote git repository on this server. Now what I'd like to do is make the server act as a central repository. All my employees can commit their code to the server and the server pushes it to the remote git repository.

Can someone please help me out with this process? I am new to git and still learning how to use it effectively. So a step-by-step process or an existing document which I can refer to for this?

Also can I integrate it with SSO in any way?

Thanks.

Best Answer

The Pro Git book, which is available free for online reading, has a great chapter on Git on the Server that should help clarify the options available and what you need to do to make them work.