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.
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.
1.go to github.com 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. 😊🎉
1.Download git from browser.
3.simple download and install the git software
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 (readme.md)
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 https://github.com//Demo.git
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)
7.now 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 .
A collabration with Geeky4u Did you find it helpful let me know in comments.