0% found this document useful (0 votes)
9 views4 pages

Exercise+2+Getting+Started+GitHub

Uploaded by

saumya.kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

Exercise+2+Getting+Started+GitHub

Uploaded by

saumya.kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Git and GitHub for Writers Exercise 2

Exercise 2: Getting Started with GitHub


Sign up for GitHub account
Follow these steps to get a GitHub account:

1. Navigate to http://github.com
2. Put in username, email, and password to sign up for a new account. Click Sign Up for GitHub.
3. Check your email and look for a verification link. Click it to verify the account. Close that tab.
4. Click Create an account.
5. Leave Unlimited public repositories as checked. This will let you create free, public repositories.
For private repositories, you have to pay a subscription.
6. Leave the other checkboxes unchecked. Click Confirm.
7. Fill in information about yourself. Click Submit.

Create a repository
Follow these steps to create your first repository:

1. Open a browser and go to http://github.com


2. Log in (if you haven’t already)
3. From your home page, click the + sign at the upper right and choose New repository

4. For repository name type exercise.


5. Leave as public. (You can only have public repositories with free accounts.)
6. Check Initialize this repository with a README
7. Click Create repository

See screenshot on next page.

1 © 2018 SDK Bridge


Git and GitHub for Writers Exercise 2

Clone the repository


Now let’s clone the repository. Follow these steps:

1. Go back to github.com and click the Code button.

2. You will see a URL. Click the clipboard icon to the right of it. This copies the URL into your
clipboard.

2 © 2018 SDK Bridge


Git and GitHub for Writers Exercise 2

3. Return to your terminal. Type the command git clone, a space, and then do a paste
(Command+V for Mac, right-click, then Paste for Windows.) Your command should look
something like this:

git clone https://github.com/sdkbridge/exercise.git

4. Press return, and it will get to work cloning your repository so that you have a local copy.
Note: See the previous lecture on using your GitHub username and the personal access token
code for the password.

Cloning into 'exercise'...

remote: Counting objects: 3, done.

remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0

Unpacking objects: 100% (3/3), done.

5. Open up your file explorer and go to your “home” folder. For Windows, click on This PC, then
open Local Disk (C:), then Users, then the folder with your user name. For Mac, click on
Macintosh HD, then open Users, then the folder with your user name.
6. You should see a folder named exercise. Open it.
7. You should see a file called README.md.

3 © 2018 SDK Bridge


Git and GitHub for Writers Exercise 2

Congratulations! You cloned your first GitHub repository!

4 © 2018 SDK Bridge

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy