I've got a website on a VPS and I'd like to create an offline clone using Git.
So what I did on my VPS:
git init
git add .
git commit -m "comment"
Which created a .git folder. I am not sure now how I am supposed to continue in order to clone the git repository to my local machine.
I've tried using: git clone ssh://user@IP/home/user/.git
but I get the following messages:
fatal: '/home/user/.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Can you please let me know what I am missing here?