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.

  • Git: Teamwork across branches without Push Permission
  • How to delete url in git
  • How to keep track of slightly differing codebases in a single git repository
  • Coalescing adjacent commit and its revert
  • Gitlab execute stage conditionally
  • Git checkout branch leaves directory tree from other branch
  • I would appreciate if somebody could give me clear instruction how to achieve this, please.

  • Remote branch not showing up in “git branch -r”
  • How to checkout a branch from repository
  • Mercurial <--> git cheat sheet?
  • how to checkout latest commit of a specific remote in bash script
  • Unable to understand Git branch, merge and rebase
  • GitHub Pull Request to a new Upstream Branch
  • 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.