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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:04:35+00:00 2026-05-26T19:04:35+00:00

I am trying to understand / visualize the elements that come with forking a

  • 0

I am trying to understand / visualize the elements that come with forking a repo. My starting reference is this help page.

1st Question:

When I forked a repo e.g. Spoon-Knife on GitHub (i.e. clicked the Fork button on their site), does it mean the Spoon-Knife is copied to my GitHub account? Did a real copy actually happen or is it just a concept?

2nd Question:

The next step in the help page is to do a clone:

$ git clone git@github.com:username/Spoon-Knife.git

This command made a copy of the source in my local machine. Did it clone from the forked / copied repo in my GitHub account (please see my first question)? Or, from the original Spoon-Knife repo?

3rd Question:

Step about configuring remotes:

When a repo is cloned, it has a default remote called origin that points to your fork on GitHub, not the original repo it was forked from. To keep track of the original repo, you need to add another remote named upstream.

So, is origin some kind of “proxy” between our local copy and the repo copy on my GitHub account? And, how about upstream?

Thanks beforehand for your help.

  • 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-26T19:04:36+00:00Added an answer on May 26, 2026 at 7:04 pm
    1. All you are doing when you “fork” is to effectively create a branch on their git repository that you can check into.

    2. Your local copy that you clone to is just cloned from and linked to the branch you created on git-hub. Remember a branch is just a pointer to a commit object, so when you “forked” you just added a branch name on their repo that points to the current head of their master.

    3. Remotes in git are just names to repositories at an external address. Your default “origin” is set up by git and is just a named remote. “upstream” is just another name and points to the original master that you originally branched from so that you can pull changes between master and your own branch. You can see your remotes with git remote -v and add them easily to track any branch on any externally available git repo.

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

Sidebar

Related Questions

Trying to understand the options for will_paginate's paginate method: :page — REQUIRED, but defaults
Trying to understand Ruby a bit better, I ran into this code surfing the
After trying to understand why client code is not rendered in a page (injected
Just trying to understand that - I have never used it before. How is
I've been trying to understand how Ruby blocks work, and to do that I've
I am attempting to visualize / understand my Rails application hierarchy on each page
Trying to understand something that I don't know how to describe because I don't
Trying to understand how to link a function that is defined in a struct,
This question is as a result of trying Jon Skeet's answer to this question
Trying to understand how CoffeeScript instance and class variable works I came with this

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.