GitHub Projects For Beginners – The Git Guide

GitHub management has become quite a hot topic among programmers and software developers over time. A surprising fact is that despite a lot of articles on Git and GitHub tutorials, GitHub project management, and GitHub repositories, the confusion persists in young brains.

In this article, 24insights will clear the air in crystal clear way to show how GitHub for ubuntu works.

The Difference Between Git and GitHub

This is the most frequently asked question by the beginners to GitHub project. We will break down this query into two parts:

  • What is Git?
  • What is GitHub?

What is Git

The literal definition of Git says: “Git is the distributed version control system designed to handle everything from small to extensive projects with speed and efficiency.”

As a beginner to Git project management, you must be wondering what a version control system is? The version control system (VCS) is a tool that keeps track of all the edited information that a user has made in the file.

By keeping a track record, VCS helps users to go back and see what changes were made. So that if you have made any mistake in the edited version, you can track it back and correct it easily. By defining Git as a version control system, means Git is the record keeper of all the modifications being made.



What is GitHub

Consider GitHub like a social media platform for programmers or software developers which connects Git users from all across the globe. Multiple users can work simultaneously on any project while sitting in a different part of the world.

Like all other social media platforms, services of GitHub for ubuntu purposes are also highlighted where it helps to connect people at a single stage for the welfare of humanity.

GitHub Tutorial

Now a query arises about using GitHub for project management. To grasp this, we have prepared a step-by-step tutorial of the GitHub project for beginners to understand it well. We suggest you practice these steps with us to acknowledge GitHub project management properly.

Here are the steps we will follow:

Step 1: GitHub signup/ login. 

Step 2: GitHub Repository

Step 3: Master File

Step 4: Branching

Step 5: Pull Request

Step 6: Merge Command

Step 7: Delete Branch

Step 8: GitHub Downloading/ Cloning

READ MORE: Top 100 Public Golf Courses – Evolution of Golf Courses

Despite these steps, we will also learn how to upload code to GitHub?

STEP 1:

Creating a GitHub account 

For using GitHub for project management, the very first step is to create a Git account. Just visit github.com, sign up to GitHub for free, and BINGO! You are in. After you have logged in to GitHub, click the white box which says “Start a Project”. See the in the screenshot:

GitHub Projects For Beginners – The Git Guide 1
Github Projects For Beginners

STEP 2: 

Creating a GitHub Repository aka Repo 

After you have selected “Start a Project”, it’s time to create a GitHub repository. It is just an alternative name for project management. A repository contains folders, files, images, or anything that your data requires. Follow these steps to create a repository:

  1. Write down any name of your choice. For instance, I have entered “GitHub Project Management”, as depicted in the picture.
  2. Scroll down and click the green box that says “Create repository”
GitHub Projects For Beginners – The Git Guide 2
Repository Name
GitHub Projects For Beginners – The Git Guide 3
Create Repository



STEP 3 

The Master File

Now it’s time to create a file, that we will be referring to as The MASTER file. MASTER is the original file by default, or you can say the standard file of your Git project management.

  1. The blue colored rectangle at the top has a blue colored line that suggests the names of files. Select README.md.
  2. Scroll down and click the green box that says “Commit new file”
GitHub Projects For Beginners – The Git Guide 4
GitHub Projects For Beginners – The Git Guide 5

STEP 4 

BRANCHING IN Git PROJECT MANAGEMENT

GitHub Branching feature allows you to work simultaneously on different versions. Let us say that you and your three other friends are working on the same project while sitting in a different part of the world. You log into your GitHub account and start working. Once you have created the Master file, you notice that it needs to be improved further. Now you are also afraid whether or not the rest of your friends will approve it. What you do here, is you create a new file for your Git project [a new version] and name it, e.g. README_EDITED.md. It appears as a separate branch of the Master file. Changes appear as of green, yellow, or deep pink colour.

Follow the following steps for creating a branch:

  1.  Select the option “Branch: master”
  2. Give your edition a name e.g. README_Edited.md
GitHub Projects For Beginners – The Git Guide 6

This file here is just a replica of the master file. To make some changes in the file, follow these steps:

  1. Click on the pencil icon at the top right corner. 
  2. Describe what changes do you want to make? For instance, “I would like to make A, B, C changes to GitHub projects for beginners”
  3. Scroll down and click the green box saying “Commit changes”.
GitHub Projects For Beginners – The Git Guide 7
GitHub Projects For Beginners – The Git Guide 8

STEP 5 

Pull Request 

This is an essential part of understanding for beginners of Git project management. As you have made changes, you now need to show it to the rest of your project fellows. For this purpose, you have to request your teammates to have a look at the changes you made. So, you pull a request for them to see the modifications.

Once it is done, your changes are open for feedback or discussion. Your project partners can review the changes, give feedback, and discuss the modifications. Only after approving the changes, this request will be merged with the original file.

To pull a request you need to adopt the following steps:

  1. Click the option “Pull request” present at the top of the page.
  2. After clicking it, the screen will show a green coloured box saying: “Compare & pull request”.
  3. Now a description box will show where you have to describe your request. For instance, “I would like to make A, B, C changes in GitHub project for beginners”
  4. Scroll down and click “Create pull request”
GitHub Projects For Beginners – The Git Guide 9

STEP 6 

Merge Command

Now once you have created the pull request, your Git project management members will review and approve it. After it gets the approval, it’s time to merge this README_Edited file with the original Master file.

For merging the file, you need to follow these steps:

  1. Scroll down and click the green box “Merge pull request”
  2. After that, click “Confirm merge” on the screen.
github projects for beginners

STEP 7 

Delete Branch

Once your request is merged with the original Master file, it is saved. Now you can freely delete the branch.

GitHub Projects For Beginners – The Git Guide 10

STEP 8

Cloning Or Downloading GitHub Repository

Before understanding the term Cloning, you need to understand two basic terminologies:

  • Remote Repository
  • Local Repository

Remote Repository: Remote repository is the standard repository that all your Git project management fellows are using to make modifications in a file. In simple words, the storage you have created for the first time is the remote repository. It is either stored on an internal server or a hosting service like GitHub.

Local Repository: 

Now, you need to download this remote repository to make a local replica of it. By doing this, you can edit and modify storage from any local source rather than the standard basis.

 Just move to the top of page, follow the green box which says: “Cloning or downloading”.



HOW TO UPLOAD CODE TO GitHub:

In the screenshots depicted below, you will learn how to upload code to GitHub. Follow the following steps:

  1. Click the “+” option at the top right corner to create a new repository.
  2. Move to the right side, and click the white box which says “Upload files.”
  3. Give your repository a name. For example, I have named it: “GitHub project for beginners”. Check the box saying “Initialize this repository with README.
  4. Move to the right side, and click the white box which says “Upload files”
  5. Describe your command. Scroll down and click the green box saying “Commit Changes”

You have now learnt to upload the code to GitHub.

And that’s it. Congratulations! You have successfully learned to perform different tasks by using GitHub for project management.

WHAT HAVE YOU LEARNED IN GitHub projects for beginners?

  • What is the difference between Git and GitHub?
  • What is the benefit of using Version control systems?
  • How to use GitHub for project management?
  • How to create an account on github.com?
  • What is a repository/ repo in GitHub?
  • What are the basic steps of GitHub?
  • How to download/ clone Git repository?
  • How to upload code to GitHub?

By getting the answer of all these questions, we get the answer of the most important query that:

  • How GitHub for ubuntu works?

EUREKA! Now you are capable of explaining this Git project management to everyone. We recommend you to keep practising it to scale your level up from “GitHub projects for beginners” to “GitHub projects for a pro”.

BY: SABA SARFRAZ KHAN



24 INSIGHT

24 INSIGHT is a forward-looking company that aims to share you with the world by offering a various, far-reaching scope of Business, Fashion, Design, Health, Entertainment, Netflix, Politics, Sports, Technology, and Solutions that are needed for the 21st Century.

6 thoughts on “GitHub Projects For Beginners – The Git Guide

  • May 14, 2020 at 8:59 pm
    Permalink

    Nice introduction 👍👍👍

    Reply
  • May 14, 2020 at 11:28 pm
    Permalink

    The content is readable for everyone. Very basic language used and well explained.

    Reply
  • May 15, 2020 at 3:55 am
    Permalink

    A full description of git hub use
    And good description through browser images which makes people understand more easily thankyou saba sarfraz khan

    Reply
  • May 15, 2020 at 9:16 am
    Permalink

    Really helpful and worth appreciating

    Reply
  • May 15, 2020 at 4:20 pm
    Permalink

    very informative for in easy language for beginners

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *