DEV Community

Cover image for Get started with github
Nikhil Bobade
Nikhil Bobade

Posted on

Get started with github

Hey guys hacktoberfest is started if you don’t know about GitHub or what is GitHub how its use so this is useful post for you.
In this post you learn how to use GitHub and create your 1st pull request with using GitHub. and also after 4 successful pull request you will be get free t-shirt from hacktoberfest event. so learn and participate in event.

What is GitHub:-

GitHub is a web-based interface that uses Git, the open source version control software that lets multiple people make separate changes to web pages at the same time. As Carpenter notes, because it allows for real-time collaboration, GitHub encourages teams to work together to build and edit their site content.

GitHub Account and create repo :-

1.go to and simple create your account .
2.Create a new repository
3.To create a new repository, select New Repository from the + sign dropdown menu (you can see I've selected it in the upper-right corner in the image above).
4.Enter a name for your repository (e.g., "portfolio") and click Create Repository).
5.Your 1st repo is created. 😊🎉

Now we are moved to next step :-

1.Download git from browser.
2. .
3.simple download and install the git software

Simple now open your command prompt or PowerShell 💻

1.Now we are Create folder for your project folder use this command (mkdir Demo).
2.Change your terminal to the Demo directory with the command (cd Demo).
3.Now create your 1st file readme file and save as (

yeah 😀 Now its time to add our file in GitHub

1.Use command ( git init )in terminal .
2.and add that file in git like git add (filename) or git add . there are to add multiple file we are use ( git add . ).
3.add your remote URL
4.git remote add origin
5.then use command for commit the changes ( git commit -m “first commit”
6.After this you can be use git status to check the your files .
if you want to change the branch use this command (git branch -m main) its time to push your code or files to GitHub
8.Use git push -u origin main

Congratulations! 🎉🎉🎉 You have create your 1st requst to git now if you want to learn more comment git at this post or simple check github docs .

Thank You.

A collabration with Geeky4u Did you find it helpful let me know in comments.

Top comments (4)

bobbyiliev profile image
Bobby Iliev

Great post! Well done!

For anyone who wants to learn more make sure to check out this free eBook:

GitHub logo bobbyiliev / introduction-to-git-and-github-ebook

Free Introduction to Git and GitHub eBook

💡 Introduction to Git and GitHub

This is an open-source introduction to Git and GitHub guide that will help you learn the basics of version control and start using Git for your SysOps, DevOps, and Dev projects. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you can use Git to track your code changes and collaborate with other members of your team or open source maintainers.

The guide is suitable for anyone working as a developer, system administrator, or a DevOps engineer and wants to learn the basics of Git, GitHub and version control in general.

🚀 Download

To download a copy of the ebook use one of the following links:

📘 Chapters

nikhil27b profile image
Nikhil Bobade

Please checkout my git pull request in your repo

bobbyiliev profile image
Bobby Iliev

Thank you for the contributions! I've reviewed all PRs just now 🙌

Thread Thread
nikhil27b profile image
Nikhil Bobade

Thanks for you great repo