What is the quickest and simplest way of setting up a shared, remote git repo on Windows?

I have just joined a team of two, and am in danger of having to being asked to use SourceSafe if I can’t establish a git repo very quickly. I would like to avoid any web server etc. setup and just use a shared folder, but suggestions along this line haven’t been very clear and have not worked.

First, I tried ‘git init –bare’ in the shared folder, and this seemed to work, but I cannot clone this repo to a local repo as I get told no repo exists there.

I would appreciate if somebody could give me clear instruction how to achieve this, please.

  • WHat does Cross sign indicates on a file in Git for windows
  • How do I execute a .bat from git bash and then return to the console?
  • How to set up an existing Git client repository (connected to a remote) AS a Git server repository (i.e., another repository's remote) on Windows?
  • gitpython error when checking if repo is dirty
  • Git bash is not showing for another useraccount on my windows
  • Automating SSH to windows with Ruby
  • Windows - start git in given directory
  • Git detects changed files that are actually byte-identical
  • One Solution collect form web for “What is the quickest and simplest way of setting up a shared, remote git repo on Windows?”

    It shouldn’t cause any problem to share a repo this way, that’s the exact setup we have here.

    Be sure to specify slashes when giving repo location, and that the share has been accessed in the Explorer in case it requires authentication.

    git clone //server/share/path/to/repo.git
    Git Baby is a git and github fan, let's start git clone.