getting started with Github
getting started with Github
Effort: 20 min
In this lab, you will get started with GitHub by creating a GitHub account and project and adding a file to it using its Web interface.
Objectives
After completing this lab, you will be able to:
1. Describe GitHub
2. Create a GitHub account
3. Add a project and repo
4. Edit and create a file
5. Upload a file and Commit
GitHub Overview
First, let us introduce you to GitHub. GitHub is a collection of folders and files. It is a Git repository hosting service, but it adds many of its own features. Git is a
command-line tool. It hosts and maintains a server via command line. GitHub provides this Git server and a Web-based graphical interface for you. It also provides access
control and collaboration features, such as wikis and basic task management tools for every project. In addition, GitHub provides cloud storage for source code, supports
all popular programming languages, and streamlines the iteration process. GitHub includes a free plan for individual developers and hosting open source projects.
NOTE: If you already have a GitHub account, you can skip this step and simply log in to your account.
about:blank 1/8
5/6/23, 8:38 PM about:blank
about:blank 2/8
5/6/23, 8:38 PM about:blank
Step 5: Select the details as shown below and click Complete setup.
Step 6: Go to your email, find the verification email from GitHub, and click the Verify your email button or link in that email to verify.
NOTE: If you do not receive the verification email, click Resend verification email.
about:blank 3/8
5/6/23, 8:38 PM about:blank
Email is verified.
Step 2: Provide a name for the repository and initialize it with the empty README.md file.
about:blank 4/8
5/6/23, 8:38 PM about:blank
Step 1: Once the repository is created, the root folder of your repository is listed by default, and has just one file, ReadMe.md. Click the pencil icon to edit the file.
about:blank 5/8
5/6/23, 8:38 PM about:blank
Step 3: Scroll down the page after adding the text and click Commit Changes.
Now, check that your file is edited with the new text.
Step 2: Click Add file and select Create New file to create a file in the repository.
Step 3: Provide the file name and the extension of the file. For example, firstpython.py and add the lines.
about:blank 6/8
5/6/23, 8:38 PM about:blank
Step 4: Scroll down the page after adding the text. Add description of the file (optional) and click Commit new file.
Step 5: Your file is now added to your repository, and the repository listing shows when the file was added and changed.
Step 2: Click choose your files and select any files from your computer.
Summary
about:blank 7/8
5/6/23, 8:38 PM about:blank
In this document, you have learned how to create a new repository, add a new file, edit a file, upload a file in a repository, and commit the changes.
Author(s)
Romeo Kienzler
Malika Singla
Other Contributor(s)
Rav Ahuja
Changelog
Date Version Changed by Change Description
2023-01-17 0.6 Steve Hord QA pass with edits
2020-07-16 0.5 Malika Singla Spell check, step number added
2020-07-14 0.4 Rav Ahuja Changed logo, updated effort, title, intro, objectives, added Authors and Changelog
2020-07-13 0.3 Malika Singla Added to GitLab and made some formatting changes, added objectives, etc.
2020-07-03 0.2 Malika Singla Ported to markdown and added GitHub account signup, new screenshots, etc.
2020-06-30 0.1 Romeo Kienzler Drafted initial version
about:blank 8/8