Beginner’s guide to setup a GitHub account

In this post I’ll explain how you can create a gihub account which can later used for managing your ‘go’ (or any) codes

Go to

Provide a Username for your account ,your Email address and finally a password; then click ‘Sign up for GitHub’ to create your account

Select your plan

After you get into your account , GitHub will ask for the plan and select one based on your need
If you are a beginner , then select Unlimited public repositories and click continue

Optional step to provide more details

Here you can provide some more details to github to personalize your experience.
You may either skip it or continue by providing the details as you wish.

Start a project

You can go to your page using the URL (your URl should be changed based on the username you provide during account creation)

Click on the “+” sign on top bar right corner ; near to your avatar icon
It may ask you to verify your email if not already done . If not done please verify it by clicking on the verification link sent to your mailbox
Once verified , click on the “+” sign and click ‘New repository’ which will take you to another page where you need to below details

Repository Name
Select Public / Private

Make a tick on ‘Initialize this repository with a README ‘
This will let you immediately clone the repository to your computer.
Skip this step if you’re importing an existing repository.

In ‘Add .gitignore’ ; select ‘Go’
Select ‘GNU General Public License v3.0’

Now click ‘Create repository’ ; this will take you to the project.
Here you can create your first go program file which we will be pulling later form go command line

Create file

We will create a hello.go with below content and will do our first commit

package main
import "fmt"

func main(){
        fmt.Printf('hello world/n')

Once you copy paste above content to the file scroll down and enter comment and commit the file.

Your main project page will show the newly committed file.

Read my next post on how to integrate ‘go’ with your ‘github’ account and project

You may also like...

Leave a Reply

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