How to Get Started with GitHub

Computer GarageComputer Garage
2 min read

Introduction ๐Ÿ“–

GitHub is a free version control tool for software with a free hosting site. We can create branches for different versions. It also includes a built-in merge tool for combining source code, making the work easier.

GitHub: Letโ€™s build from here - This is GitHub's official website. Click on sign-up to create a GitHub account easily with your email and a new password. Once logged in, you will see the following options:

  • Pull Request - Requesting the official repo owner to pull your code.

  • Issues - When the code has a problem, anyone can report an issue in your code if your repository is public.

  • Marketplace - This contains tools and functionalities for your workflow.

  • Explore - Discover other projects, repositories, and shared resources.

  • Repository - Similar to a container that holds the project's files and related information.

Creating new repository

  • To create a new repository, click on the "New" or "+" icon in the top right and select "New repository."

  • Enter the repository name and an optional description.

  • Choose the repository type: public or private.

    • Public - Allows everyone to see your repository.

    • Private - Hides your repository from everyone.

  • Adding a README file, .gitignore, and choosing a license are optional.

    • Add a README file - This file provides a detailed description of your repository.

    • Add .gitignore - This file lists the files to ignore when committing changes.

    • Choose a license - This specifies what others can or cannot do with your code.

  • Once done, click on "Create repository."

Deleting a repository ๐Ÿ—‘๏ธ

  • If you need to delete a repository, go to the repository settings.

  • Scroll to the bottom, and you will see the Danger Zone.

  • Click on "Delete this repository," and type the confirmation sentence.

  • Click on "I understand the consequences, delete this repository."

Check out the videos below for a clearer understanding.

0
Subscribe to my newsletter

Read articles from Computer Garage directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Computer Garage
Computer Garage

I'm a full stack web developer at a MNC Company. Majorly working with Angular and AWS. I love to learn new tech and trying over it.