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

  • Home
  • SEARCH
  • 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 8051735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:22:03+00:00 2026-06-05T07:22:03+00:00

I am working on a project for my studies, and now I also have

  • 0

I am working on a project for my studies, and now I also have a group of students that will be adding functionality to the project. Since I don’t trust their changes, I want them to work on a different repository than me (but I am part of their project). My repository is at github, and I also want them to work with github.

The correct (github) way to do this would be to fork the project. But github does not allow me to fork my own project. I tried to forke my own project manually as described here, but while my original project has a number of branches, the new project has only one branch.

What I finally did was to create (locally) a new remote repository (the second github repo) and pushed all my local repo to the new remote repo.

Doing all this I got very confused on the real internals of git. For example: When I clone a new repository I get one master branch which points to the remote’s master branch. If I then go and push this local repository to a new remote repository, this remote repo will only have one branch! So how can we say that each git repository contains the same information? What is wrong in my line of though?

Thanks, and sorry for the long post.

  • 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-05T07:22:05+00:00Added an answer on June 5, 2026 at 7:22 am

    When you clone a git repo, you get the entire repo. Unlike other vcs like SVN in which case you only get a working directory, you get the repo. The reason you don’t see any other branches normally is because you don’t have local tracking branches for them ( only master is setup by default.) You can see all the branches with git branch -a and checkout any branch you want like git checkout branch. If you push THIS repo, now you will have the branches.

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

Sidebar

Related Questions

I have a working project that Im amending, it crashes after trying to use
I working on project and have problem with threading and update of UI. I
I have a working C2DM project, atm. I have me and my colleagues phones
I have a project working fine under MSVS 2010 SP1. I'm trying to convert
I am working on project and ran into an issue. Now I want to
I am working on project where I have the checkInternet method in one of
I compiled an fine working project (before compiled with 3.1.3) now with 3.2.1 Now
I have been working with Qt and Visual Studios 2008 for a while now.
Anybody who have a web project in maven with spring? I don't know why
I am working on the frontend of a project that gives me Java Expression

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.