Creating a remote server on a LAN instead of using Git Hub

Can I create my own remote server instead of using Git Hub?

i.e Can I make a remote server on LAN where 3 computers are sharing a drive on a network to do the collaborative work using Gitbash? 

  • Larger Scale Web Project Planning
  • Continuous version control
  • deployable wiki-based documentation
  • Github: How do I add my own projects to an “organization” account?
  • Is there any IDE or Source Control System inspired by Google Docs collaborative mode?
  • How to set Subversion properties with git-svn
  • Git force push tag when the tag already exists on remote
  • remove a file from GIT control
  • Relationship between n git branches
  • How to shallow clone a specific commit with depth 1?
  • Why does Xcode 4 continually display “Checking source control status” for a git repository?
  • Atom text editor adds “^M” to empty lines
  • 3 Solutions collect form web for “Creating a remote server on a LAN instead of using Git Hub”

    There are several ways to do this

    1. Host internal repositories like Gitlab or Stash. This will be similar to services like BitBucket or GitHub
    2. If you want to have a simple service with SSH authentication – user3159253 has already answered that
    3. A very bare bones way is
      1. Create a bare repository – example git init . --bare
      2. Start the git daemon – example git daemon --base-path=<absolute full path to git repo
      3. Add that repo as git remote add RepoName git://your.local.host.name/myrepo or clone git clone git://your.local.host.name/myrepo/

    Yes, you do. Actually you need a SSH-service and git would perfectly work over SSH. Since you’re on Windows, see Setup a Git server with msysgit on Windows

    You can set up a remote repository and make it accessible through any of the protocols it supports. The AAA would be handled by the transport.

    Git Baby is a git and github fan, let's start git clone.