Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7000461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:40:27+00:00 2026-05-27T20:40:27+00:00

I setup a git repo in foo cd mkdir foo cd foo git init

  • 0

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/home/me/foo.git

fatal: git remote error '/home/me/foo.git' does not appear to be a git repository

So I take .git off and it works. But nearly every example I see has “.git” at the end. What does that “.git” mean?

Also, what’s the difference between ssh://… and git+ssh://… (in both meaning and practical terms)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:40:27+00:00Added an answer on May 27, 2026 at 8:40 pm

    What does that “.git” mean?

    .git at the end of a git repository folder is just a naming convention that usually means that the folder is a server and not a client. I believe it’s determined by the repository being bare or not (bare repositories have no working directory). The clone URL just points to a folder, if the actual folder has .git at the end, add it. Otherwise, don’t.

    Also, what’s the difference between ssh://… and git+ssh://… (in both meaning and practical terms)

    In practical terms they’re pretty much the same. In meaning, they’re using different protocols to connect to the server. ssh:// opens up an SSH connection to a server with a specific user and runs the git commands on the server (typically the server will restrict the commands by setting the user’s shell to /usr/bin/git-shell). git+ssh:// means that the server is running git daemon locally and that clients need to first open an SSH connection to interact with the daemon.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

on my new computer, I setup git and my putty.exe and ssh key etc.
I was to setup an SSH Server to Host my Git Repository to my
I would like to access (clone/push/pull) a private (via ssh) git repository while behind
I recently tried to setup git repo on a linux box and wasted about
I am trying to setup a shared git repository via ssh, copying users public
I'm quite new to git. I have a repo setup on a server (A)
I am a power git user and a happy one at that. Now, I'm
So I have SSH working now no problemo and I have setup a new
We have a Git repo setup where it is extremely helpful to check-in not
I have setup a git repository in a linux server, and installed the latest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.