GitHub Instruction
GitHub Instruction
GitHub Instruction
What is GitHub?
GitHub is a cloud-based platform where you can store, share, and work together with others to write code.
Why do we need to have a GitHub account?
Storing your code in a "repository" on GitHub allows you to:
➢ Showcase or share your work.
➢ Track and manage changes to your code over time.
➢ Let others review your code and make suggestions to improve it.
➢ Collaborate on a shared project, without worrying that your changes will impact the work of your collaborators before
you're ready to integrate them.
www.skillovilla.com
➢ Password
o Your password needs to be unique to GitHub.com.
o Please choose a secure, memorable password.
o As you type your password into the field, it will be obscured for security reasons.
3. Once you have entered an available username, valid email address, and acceptable password, click on the “Create
account” button.
4. The page will verify that you are a human and not a robot.
5. Next, GitHub will send you an email to the address you registered. You must go to your email and validate it as
instructed.
o If you do not find the email in your Inbox, be sure to check your Junk Email folder.
o If you are using a Focused mailbox, please be sure to check both Focused and Other as the email may have been
filtered from view.
6. Open the email with a subject line stating “[EXTERNAL] Your GitHub launch code.
www.skillovilla.com
9. Now that you have your GitHub account, please add and/or verify you have done the following.
Your profile page on GitHub is a place where people can find out more about you. You can use your profile to:
➢ Share your interests and skills.
➢ Showcase your projects and contributions.
➢ Express your identity and show the GitHub community who you are.
In this tutorial, you'll learn how to personalize your profile by adding a profile picture, bio, and a profile README.
You'll also learn the basics of Markdown syntax, which is what you'll use to format any writing you do on GitHub.
3. Adding a bio
➢ On your profile page, under your profile picture, click Edit profile.
➢ Under "Bio", write one or two sentences about yourself, such as who you are and what you do.
➢ Note: Keep the bio short; we'll add a longer description of your interests in your profile README in the section
below.
➢ To add an emoji to your bio, visit the "Emoji cheat sheet" and copy and paste an emoji into the "Bio" dialog box.
➢ Optionally, add your preferred pronouns, workplace, location and time zone, and any links to your personal website
and social accounts. Your pronouns will only be visible to users who are signed in to GitHub.
➢ Please add a Professional Photo
➢ Add your LinkedIn Profile link
➢ Add Your Technical or any Course Certification
➢ Any Achievement’s certification
➢ Add Skills and Organisation worked before
➢ Click Save.
Example of Github Profile
Example: - 1
Example: - 2
www.skillovilla.com
4. Adding a profile README
Next, we'll create a special repository and README file that will be displayed directly on your profile page.
Your profile README contains information such as your interests, skills, and background, and it can be a great way to
introduce yourself to other people on GitHub and showcase your work.
In the following steps, we'll create and edit your profile README.
Step 1: Create a new repository for your profile README
➢ In the upper-right corner of any page, select, then click New repository.
➢ Under "Repository name", type a repository name that matches your GitHub username. For example, if your
username is "octocat", the repository name must be "octocat."
➢ Optionally, in the "Description" field, type a description of your repository. For example, "My personal repository."
➢ Select Public.
➢ Select Initialize this repository with a README.
➢ Click Create Repository.
www.skillovilla.com
Step 2: Edit the README.md file
➢ Click the next to your profile README.
➢ In the "Edit" view, you'll see some pre-populated text to get you started. On line 1, delete the text that says ### Hi
there and type # About me.
➢ In Markdown syntax, ### renders the plain text as a small ("third-level") heading, while ## or # renders a second-
and first-level heading respectively.
o Toggle to "Preview" to see how the plain text now renders. You should see the new text displayed as a much
larger heading.
o Toggle back to the "Edit" view.
o Delete line 3 and line 16.
➢ This HTML syntax (e.g. <!--) keeps the other lines hidden when you toggle to "Preview".
o Complete some of the prompts on lines 8 to 15, and delete any lines you don't want. For example, add your
interests, skills, hobbies, or a fun fact about yourself.
o Now, toggle to "Preview". You should see your completed prompts rendered as a bulleted list.
o Toggle back to "Edit" and remove any other lines of text that you don't want displayed on your profile.
o Keep customizing and editing your profile README.
➢ Use the "Emoji cheat sheet" to add emojis.
➢ Use the "Markdown cheat sheet" to experiment with additional Markdown formatting.
Step 3: Publish your changes to your profile
➢ When you're happy with how your profile README looks in "Preview", and you're ready to publish it,
click Commit changes.
➢ In the open dialog box, simply click again to Commit changes.
➢ Navigate back to your profile page. You will see your new profile README displayed on your profile.
www.skillovilla.com
➢ In the "Repository name" box, type a name for your project. For example, type "my-first project."
➢ In the "Description" box, type a short description. For example, type "This is my first project on GitHub."
➢ Select whether your repository will be Public or Private. Select "Public" if you want others to be able to see your
project.
➢ Select Add a README file. You will edit this file in a later step.
➢ Click Create Repository.
Step 2: Upload files to your project's repository
➢ So far, you should only see one file listed in the repository, the README.md file you created when you initialized
the repository. Now, we'll upload some of your own files.
o To the right of the page, select the Add file dropdown menu.
o From the dropdown menu, click Upload files.
o On your computer, open the folder containing your work, then drag and drop all files and folders into the browser.
o At the bottom of the page, under "Commit changes", select "Commit directly to the main branch, then
click Commit changes.
Step 3: Edit the README file for your project's repository
➢ Your repository's README file is typically the first item someone will see when visiting your repository. It usually
contains information on what your project is about and why your project is useful.
o From the list of files, click README.md to view the file.
o In the upper right corner of the file view, click to open the file editor.
o You will see that some information about your project has been pre-filled for you. For example, you should see
the repository name and repository description you completed in Step 1 displayed on line 1 and line 2.
o Delete the existing text apart from #, then type a proper title for your project. Example: # About my first project
on GitHub.
o Next, add some information about your project, such as a description of the project's purpose or its main features.
Note: If you're not sure what to write, take a look at other repositories on GitHub to see how other people describe their
projects.
To apply more sophisticated formatting, such as adding images, links, and footnotes, see "Basic writing and formatting
syntax."
➢ Above the new content, click Preview.
➢ Take a look at how the file will render once we save our changes, then toggle back to "Edit".
➢ Continue to edit and preview the text until you're happy with the content of your README.
➢ In the top right, click Commit Changes.
➢ In the dialog box that opens, a commit message has been pre-filled for you ("Update README.md") and, by default,
the option to "Commit directly to the main branch" has been selected. Leave these options as they are and go ahead
and click Commit changes.
www.skillovilla.com
Step 4: Make and commit changes
➢ When you created a new branch in the previous step, GitHub brought you to the code page for your new readme-
edits branch, which is a copy of main.
➢ You can make and save changes to the files in your repository. On GitHub, saved changes are called commits. Each
commit has an associated commit message, which is a description explaining why a particular change was made.
Commit messages capture the history of your changes so that other contributors can understand what you’ve done
and why.
o Under the readme-edits branch you created, click the README.md file.
o To edit the file, click
o In the editor, write a bit about yourself.
o Click Commit changes.
o In the "Commit changes" box, write a commit message that describes your changes.
o Click Commit changes.
➢ These changes will be made only to the README file on your readme-edits branch, so now this branch contains
content that's different from main.
IV. Refer to the below Video link for Data Analyst and Data Science
V. Refer to the below link for Data Analyst and Data Science
www.skillovilla.com