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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:27:18+00:00 2026-05-22T14:27:18+00:00

Github allows you to clone a public repository in one of two ways. The

  • 0

Github allows you to clone a public repository in one of two ways. The two methods toggle on the download section of the repository home page:

https://github.com/scrooloose/nerdtree.git

git://github.com/scrooloose/nerdtree.git

The git clone command works with both so why are there two methods available? Can you explain why you would use one over the other?

  • 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-22T14:27:19+00:00Added an answer on May 22, 2026 at 2:27 pm

    The git protocol has the following key problems:

    • The conventional port that the service is run on (9418) may not be accessible behind restrictive firewalls.
    • There is no user authentication, which means that generally the protocol is only used for read-only access.

    On the other hand, it’s very efficient for fetching from git repositories.

    As for HTTPS, GitHub now supports the “smart HTTP” protocol, which means that many of the problems with the “dumb HTTP” protocol that you’ll read about (e.g. inefficiency) no longer really apply, although it still won’t be as efficient as the git protocol. The chief advantage of using HTTPS to talk to GitHub repositories is it is very unlikely that corporate firewalls will block access to port 443.

    (Incidentally, the scope of your question is only about access to public repositories with the git protocol and HTTPS, but I think it’s worth pointing out that there are many other considerations for the choice of protocol in the case where you need to authenticate yourself in order to push to a repository.)

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

Sidebar

Related Questions

Is there a git repository out there on github or elsewhere that allows anyone
Hi cloned a simple app ( https://github.com/cfx/twix ) on github that allows me to
I have a bunch of XSD's from https://github.com/XeroAPI/XeroAPI-Schemas/tree/master/v2.00 I need to do two things:
As you know GitHub has introduced a Repo Transfer feature. https://github.com/blog/876-repo-transfers This allows you
I have repository on GitHub to which I commit regularly from my local computer.
Now that http://github.com/why/hpricot/wikis/home no longer exists.
I am using Jquery youtube player plugin found here: http://badsyntax.github.com/jquery-youtube-player/ The plugin allows you
I am behind a firewall that allows only HTTP/HTTPS. Although I am able to
Someone I know is trying to clone my github repo and make changes directly
I have a main repository on SVN, which I am synchronizing with a clone

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.