with - ssh command in git



Git shows the error “does not appear to be a git repository fatal: The remote end hung up unexpectedly” (1)

I just installed GIT in my CentOS Linux server and configured it. When I create a new repository using git init it works fine and gives output of the command also.
But whenever I try to clone the remote repository into my local computer folder it gives the following message:

fatal: '/public_html/repositories/git-test/.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

Has anyone come across this issue, what could be the reason?


Your path may be incomplete. Perhaps your full path should be something more like this: /home/USER/public_html/repositories/git-test.





git