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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:59:48+00:00 2026-05-15T19:59:48+00:00

I came to git via terminal, not GitHub and I am wondering how I

  • 0

I came to git via terminal, not GitHub and I am wondering how I make a connection between the two.

From a checkout I have, I created a branch in terminal by running this command:
git checkout -b newbranchname

From my understanding, GitHub calls this “forking”. How do I connect the branch on my box to a fork of a checkout on GitHub?

(Thanks ahead of time for your help. My background is about 1.5 years of subversion.)

  • 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-15T19:59:48+00:00Added an answer on May 15, 2026 at 7:59 pm

    You’re mixing a few things up.

    First of all, a checkout in SVN is not the same as a checkout in git. What is called a checkout in SVN is called a clone in git. You don’t check out a repository, you clone it. “Checking out” means switching to a specific branch, which is more or less the same as svn switch, but you also have the ability of creating a new branch in the same step (that’s what -b does).

    So I’m assuming that you have been using git locally, have now created a project on github and would like to push your changes to the github repo.

    A fork is a copy of an existing third party repo on github. You can hit the “fork” button to get your own copy of that repository, allowing you to make your own changes. The other person can then pull in any changes you make into his own repository.

    To associate your github repo with your local repo you do (locally):

    git remote add origin git@github.com:<username>/<repo>.git
    

    To push your changes:

    git push origin master
    

    You can find some great documentation for git here: http://git-scm.com/documentation

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

Sidebar

Related Questions

I have a project that I pushed to github in intellij via the share
I have a mac, git came installed with it. How do I go about
Came across something like this today, and was wondering if there was an equivalent
I use git-svn and I noticed that when I have to fix a merge
I've a project developed with GIT and have a few hundred commits. I only
I seem to have run into a case where git doesn't notice inline changes
On a git/github project I am working on a branch. Upon a push, it
I have a repository that I cloned from someplace a few months back and
I created two applications that were essentially identical on heroku. They started off different
After getting past a few hurdles learning Git, I came across a new challenge:

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.