title: "Does not appear to be a git repository" when trying to clone via SSH
body: <p>I have a Windows 10 machine running that I would like to host a git repo on. OpenSSH is running and I am able to SSH into the machine via Powershell, so it is connectable.</p>
  <p>I created a new git on that machine in a folder named Test via</p>
  <pre><code>git init --shared --bare
  </code></pre>
  <p>I'm now trying to clone using Sublime Merge with the source URL like so:</p>
  <pre><code>ssh://USER@IP:/Test
  </code></pre>
  <p>However, after I put in my password, I get two errors:</p>
  <pre><code>fatal: &quot;/Test&quot; does not appear to be a git repository
  
  fatal: Could not read from remote repository
  </code></pre>
  <p>I've tried googling with both issues but have not gotten anything that has helped. Is anyone able to help?</p>
  <p>Edit: I can clone, commit, and push locally on the remote machine, so it definitely is a git repo.</p>
  <p>Edit #2: FIXED. Followed this guide on how to point directly to a git folder by forcing the repo to use powershell (very bottom) <a href="https://github.com/PowerShell/Win32-OpenSSH/wiki/Setting-up-a-Git-server-on-Windows-using-Git-for-Windows-and-Win32_OpenSSH" rel="nofollow noreferrer">https://github.com/PowerShell/Win32-OpenSSH/wiki/Setting-up-a-Git-server-on-Windows-using-Git-for-Windows-and-Win32_OpenSSH</a></p>
  <blockquote>
  <p>**Note that git clone user@domain@servermachine:C:/test/myrepo.git does not work due to known issue. Work around it to set powershell as
  default Shell in registry. Or by following steps when cmd is default
  shell:</p>
  <pre><code>cd c:\mygitrepros
  # initialize a local repo folder
  git init mylocalrepo
  cd mylocalrepo
  # add the remote repro
  git remote add origin user@domain@servermachine:C:/test/myrepo.git
  # work around the known issue by launching powershell to run the git commands
  git config --local remote.origin.uploadpack &quot;powershell git-upload-pack&quot;
  git config --local remote.origin.receivepack &quot;powershell git-receive-pack&quot;
  </code></pre>
  </blockquote>
  <p>git fetch origin</p>