I setup a git repo in foo
cd
mkdir foo
cd foo
git init
Now I want to reference that remotely
git clone git+ssh://me@somemachine
It's a common (but certainly not universal) convention that bare git repositories are created in directories whose names end with .git. That's the reason that you usually see .git at the end of repository URLs.
I'm not sure about the git+ssh scheme - in fact I can't find a reference to it in the git man pages. According to the Eclipse forums the protocol has been removed in favor of plain old ssh. (The Eclipse forums are of course not an official source of information about git, but that would make sense. I never knew what the difference was supposed to be anyway.)