How to Create a Github Account For Beginners

If you have a project and want other people to be able to use it too, then the project must be stored in a publicly accessible place.

An example of a publicly accessible repository is on github. Well, on this occasion I will give a tutorial on how to create a github account.

Apart from github, there are also other media, namely gitlab and pastebin. Maybe I will share the tutorial in the next post.

For users of termux and Linux, you may already be familiar with the word github. Because they often use projects from github or rather scripts.

Before going to the process of creating a github account, let’s first know what github is, its functions and uses for what it is.

What is github?

GitHub is a shared web hosting service for software development projects using the Git version control system and internet hosting service -wikipedia.

Simply put, github is a place to store code from applications, themes, software, websites and the like that contain source code.

So I can conclude that most of the people who use github are developers.

And some of the rest are ordinary people who have projects (script termux) or just copy other people’s existing projects (forks).

In github there are terms that you may not know. So know in advance so you don’t get confused in the future.

Terms in github

Here are the must-know terms on github:

Repository

A repository or repo is a project file storage directory. Here, you can save anything related to the project being created, such as a code, image, or audio file. The repo itself resides in your GitHub repository or local repository on your computer. Another language repository is a folder in Github.

Branch

Brach is a copy of your repository. Branch is used when you want to do a development or development separately. Branch is a branch of Commit.

Work or tasks performed on a branch will not affect the central repository or other branches. When the development is complete, you can merge the current branch into another branch as well as the central repository using a pull request.

Pull Request

A pull request is when you inform the user that you have pushed changes made in the branch to the master repository. The repository collaborator will accept or reject the pull request. As soon as the pull request is received, you can discuss and review the project with collaborators.

fork

Fork means that you create a new project based on an existing repository. In simpler terms, forking a repo means that you copy an existing repository, then make some necessary changes, then save the latest version as a new repository, and make it your own project.

This feature will improve and enhance the development of the project being carried out. Since the forked project is new, nothing will happen in the central repository. Changes made in the master repository can also be applied in your current forking.

Commit

Commit is a recording / snapshot of the repository that we have created.

Clone

Clone is fetching repository from commit

Okay, now let’s know how to create an account on github.

How to create a github account

Prepare an email address for the registration process. Then just follow these steps:

1. Fill in your personal data in the github registration form

First of all, go to the github website (https://github.com). Then select sign up in the top right corner.

Sign up for github account
Sign up for github account

Fill in all the fields with their own personal data.

Github account registration form
Github account registration form

Username: fill in the name that has not been used by others.
E-mail: fill with email address that is still active
Password: fill with 15 letters accompanied by uppercase, lowercase and special characters.
Example: Omcyberpa$$word123
Verify your account: press the verify button and rotate the image until it shows the right image. Do this until the green tick logo appears.

Example of filling out a Github account registration form
Example of filling out a Github account registration form

After you have filled out the github account registration form, scroll down and press the create account button to continue.

If an error appears as shown below.

Github error password not strong
Github error password not strong

Then change your password combination with a stronger (complicated) password.

2. Choose the free plan to create a free account

Please verify again by rotating the image until the green tick logo appears.

Then press the join a free plan button.

Github account free plan
Github account free plan

3. Verify the email used when registering an account

You will be directed to the following page.

Verify email to activate github account
Verify email to activate github account

Which means the email used during registration must be confirmed.

The method:

Go to email inbox and select incoming email from github.

Press the verify email address button in the email from github.

Verification email from github
Verification email from github

After successfully verified, the github account was successfully created. You will immediately enter the initial guide as shown below.

Github view after verifying email
Github view after verifying email

There is a menu for creating a repository, creating an organization and a guide to using github.

If you are confused and don’t know what to do, please scroll down and press the skip this for now button.

Skip this button for now github
Skip this button for now github

What to do after creating a github account?

Of course create a repository. This is a folder to store the source code of a project.

And for the steps, please follow the following guide:

How to create projects on github

Projects you can fill with any file up to you. The important thing is that the project must be given a name. Here’s how to create projects on github:

1. Create a new repository

On the initial github screen (after you login) scroll down and press the create repository button.

Create github repository button
Create github repository button

Fill in the repository column with the appropriate data.

Github repository creation form
Github repository creation form

Repository name: fill with the name of projects
Description: can be filled or not. If you want it to be filled, write a description of the projects you make
Public/Private: Public so that other people can use the project and private so that only you can use it
Initialize this repository with a README: Include projects with file description (check recommendation)

Example of creating a Github repository
Example of creating a Github repository

Then just press the create repository button to continue.

2. Add files or source code to the repository

After the repository is successfully created, it will look like the image below.

Repository successfully created mobile version
Repository successfully created mobile version

In order to add source code or files, you have to change the browser view to the desktop version.

How: press the dot icon 3 in the upper right corner then check the desktop site.

Enable browser desktop mode
Enable browser desktop mode

Then the github display will change as shown below.

Repository successfully created desktop version
Repository successfully created desktop version

See the options on the right:

create new file: create new source code/file
upload files: upload source code/file to repository
Find files: find the source code / files in the repository

Please select the menu according to your needs.

So far, the projects have been successfully created.

If you are still confused about what files to fill in the repository, you can copy someone else’s.

The method:

Visit the repository belonging to the github account that you want to copy (active desktop site) then click fork in the upper right corner.

Example of doing a fork from someone else's project
Example of doing a fork from someone else’s project

Example: I fork to dark fb script from my github account storiku.

Then my repository was added automatically with the name darkfb, but next to it there was a fork icon.

Github forked repository
Github forked repository

Already created a github account, added projects as well. What’s next?

The next step is to use a previously created project from GitHub.

How to use an existing project on github?

Remember! github is a save only place. So in order to use the saved file we have to download or copy the file.

And to run a file in github projects you have to use an emulator like kali Linux and the like.

Because most of us use Android, the application that can be used is termux.

Maybe you have to learn termux first so you can use a project from github.

Or just follow these steps:

  1. Open the termux app
  2. Write the command apt update && apt upgrade -y then press enter
  3. Write again the command pkg install git -y then enter
  4. Finally copy the project by typing the command git clone https://github.com/addressProjects

The projects address is a combination of the github account name and the repository name.

Example:
If the github account name is in my story and the repository name is darkfb. So to copy the project from that account, you can use the following command:

git clone https://github.com/storiku/dark fb

So far, we have succeeded in copying the source code from the github project to the termux application. And to run it you just follow the next command.

If you are making projects then it will not be difficult. But if you just copy someone else’s project, take a look at the readme.md section or description. Usually there is a way to use the project.

Well, now you understand what github is not, how to create a github account and how to create a new project and run the project.

If there are still confused, please just ask through the comments column.

Okay, until here first our discussion this time. Hope this is useful and thanks for reading.

Please help share too!!

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *