Skip to content

Latest commit

 

History

History
100 lines (58 loc) · 5.47 KB

File metadata and controls

100 lines (58 loc) · 5.47 KB

Challenge 1: GitHub

⏲️ Est. time to complete: 45 min. ⏲️

Here is what you will learn 🎯

In this challenge you will learn how to:

  • How to sign up at GitHub and create an account
  • How to edit your profile and upload a picture
  • How to fork a repository
  • Bonus: How to build your own Octocat

Table Of Contents

  1. Sign up and create a GitHub account
  2. Edit your GitHub profile
  3. Fork repository
  4. Create your codespace
  5. Bonus Challenge: Octocat

Sign up and create at GitHub account

What is GitHub?

GitHub is actually two things: Git and Hub.

Git is a version control software. It allows developers to work on a specific project at the same time by tracking the changes. If something goes wrong, you can easily undo the changes with Git. Hub is nothing special in itself, but it represents the "social network" of developers built on top of Git. While GitHub does not own the Git software, it has created a platform that makes it easy to access and collaborate with Git. The groundbreaking feature of GitHub is that it makes it super easy to share/show your code with the world or just store it. You no longer have to worry about where you store your code. Companies have GitHub accounts for the same reason. GitHub provides an easy way to store your code online with built-in version control.

  • Go to the GitHub website and create a GitHub account.

  • Add your email address, password and your desired username Startpage of GitHub Enter your Email page

  • Type y for receiving emails from GitHub about new product updates and announcements. Or n for not receiving emails from GitHub about product updates and announcements. Announcement confirmation page

  • To verify the account, please follow the instructions. Verification page

You have now successfully created your GitHub account. Now it is time to edit your profile and make it your own.

Edit your GitHub profile

Upload a profile picture and insert your name

This is the front page of your account. This overview shows everything about your activities on GitHub, such as your contributions to repositories, your own repositories, your achievements and much more. Profile page

To change or add any of your information, click on your icon in the top right corner and choose Settings. If you like, you can upload a profile picture here as well.

Top right user icon options popup

Profile page

Fork Repository

A Fork is a copy of a repository in your own GitHub account. This is extremely handy if you want to freely experiment without making any changes to the original project.

Now, let's go ahead and fork this repository!

Highlighted fork button top right

Create your codespace

GitHub Codespaces is a cloud-based development environment that lets you code directly from your browser. It can also be connected to your local Visual Studio Code.

In your forked repository, click on the green button that says <> Code, go to the Codespaces tab an click on Create codespace on main. Let's do it!

Create codespace on main

After a few seconds a new browser window will open with your codespace. On the lower right corner you will see a pop-up that asks you if you want to install the recommended extensions for this repository. Click on Install.

Install recommended extensions

Another tab in our codespace opens and it installs the extensions for Azure Functions and Python. Click back into the Explorer tab on the upper left to see the folder structure of our repository again.

Explorer tab

Now that you have successfully created and customised your GitHub account, and created our codespace we will move onto the next challenge for today.

You will make your first code changes and merge your first pull request here.

Bonus Challenge: Build your own Octocat

Octocat is the official mascot of GitHub and the cutest, friendliest, and most tentacular cat you'll ever meet! With its unique octopus-like shape, Octocat has become a beloved symbol of the GitHub community, popping up in merchandise, events, and social media.

As an extra challenge for those who finish early, we dare you to unleash your creativity and design your own Octocat using the Octocat builder at https://myoctocat.com. This tool allows you to customize the color, shape, and accessories of your Octocat, and share it with others.

Think of your Octocat as your personal avatar, your spirit animal, or your alter ego. Give it a funky hairstyle, a cool outfit, or a quirky accessory. Make it reflect your personality, your interests, or your sense of humor.

Who knows, your Octocat might become the next internet sensation, the star of a blockbuster movie, or the mascot of a future GitHub feature. Or it might just make you smile :)

So go ahead, have fun, and show us what you've got!

🔼 Home | Next challenge ▶