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 9029805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:20:01+00:00 2026-06-16T07:20:01+00:00

I need to work with a git repo that was set up in a

  • 0

I need to work with a git repo that was set up in a remote machine in my company to which I have access via ssh with my company’s login. I can sudo on the remote machine.

After reading some git tutorial I see I should clone the repo locally and so I tried:

me$ git clone git://remote.company.com/git/tools/thing.git
Cloning into thing...
remote.company.com[0: 1.2.3.4]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
me$ git clone http://remote.company.com/git/tools/thing.git
Cloning into thing...
fatal: http://remote.company.com/git/tools/thing.git/info/refs not found: did you run git update-server-info on the server?

So I switched back to the remote machine and tried:

me@remote:/home/git/tools/thing.git$ git update-server-info
error: unable to update ./info/refs+
error: cannot open ./objects/info/packs+
me@remote:/home/git/tools/thing.git$ sudo git update-server-info
[sudo] password for me: 
me@remote:/home/git/tools/thing.git$

Not much success!
Am I doing something conceptually wrong in beginning to work with this repo? FYI, I was thinking to create an actual remote branch for some new functionalities and to work from there.

UPDATE 1:

me$ git clone ssh://git@remote.company.com/tools/thing.git
Cloning into thing...
fatal: '/tools/thing.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

Tried the same thing without git@, with various permutations of folders and .git extensions.
Nothing works.

UPDATE 2:

Ok, found it.. 🙂 git clone git@remote.company.com:tools/thing

  • 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-06-16T07:20:03+00:00Added an answer on June 16, 2026 at 7:20 am

    Here it is: git clone git@remote.company.com:tools/thing

    Thanks to all!

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

Sidebar

Related Questions

I have a server with SSH access and I want to place a Git
I have several identities to work with github. They are managed via the .ssh/config
I work at a company which uses Git for our version control. We're using
I have a GIT repository that I manage for my office. Because of company
I need to work out the best way to read data that is being
I need to work with some old C++ code that was developed in Visual
I need to work on C++ project on my windows machine. My project will
I need to work around a Java bug in JDK 1.5 which was fixed
So I tend to have a recent clone of a repo I need to
I have a Rails app deployed on Heroku and I have a git repo

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.