Gitlab: not a git repository

  • Posted on February 6, 2015
  • kcoke666Asked by kcoke666


I’m running Ubuntu 14 with Gitlab. The gitlab is working fine, besides cloning from it.

Whenever I try to access the repository using phpstorm, I get:

fatal: ‘root/WebGL.git’ does not appear to be a git repositoy fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

gitlab is proving me this link: git@*****.net:root/WebGL.git

I can login via ssh as git user, the home directory points to:


The path to the repository on the VPS is

/var/opt/gitlab/git-data/repositories/root/test.git The contents of the directory are:

config description HEAD Hooks info objects refs

I generated a public ssh key using PuTTYgen on my windows machine (the computer I’m trying to clone the project to) and added it to gitlabs ‘ssh keys’ section.

I also saved the key to c:/Users/Me/.ssh/, but still keep getting this error.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you figured this out? If not, try using this link format:


Strangly it works through HTTP, but not through SSH