How to Set Up GitHub

Published: 21 January 2024
on channel: WebStylePress
1,207
17

How to set up github on Windows for beginners? Have you tried to clone a repository from Github and it did not work? Do you want to clone repositories from github, make changes in the code and push the code back to github? Simply how to connect your Windows PC to your github account? If you want to work with github, clone repos and push code to github, setting up git and github is necessary.

For terminal program on Windows, I recommend 'Git for Windows'.
https://git-scm.com/download/win

Process & Commands:

Create .ssh folder as specified in video.
Inside .ssh folder use terminal open terminal program or gitbash and do the following and use these commands:

1- ssh-keygen -t rsa -b 4096 -C "[email protected]"
2- Type file name
3- type password or skip / press enter
4- Start SSH agent
eval $(ssh-agent -s)
5- Add your SSH key to the agent
ssh-add path-to-your-private-key
6- Copy public key contents and paste in github SSH keys page
7- Add global user
git config --global user.name "your-username"
git config --global user.email "[email protected]"

That's it.

Other commands:

Display all your Git configuration settings
git config --list

Check your SSH configuration
ssh -T [email protected]

Clone repo
git clone "repo-address"

Push Code

git add .
git commit -m "commit changes"
git push origin main

verify remote repo association with local git repo
git remote -v

Check if you can fetch from and push to remote repository
git fetch origin
git push origin

Git Commands Tutorial | Git Clone, Add, Commit, Push, Pull, Checkout, Branch, Status
   • Git Commands Tutorial | Git Clone, Ad...  
Github Tutorials Playlist
   • Github / Git  

Is this the best way to do it or do you have something to add to the conversation? Comment down below. Let us know if this technique helped you. Do you want any related tutorial?

Our tutorials help you to improve your career growth, perform better in your job and make money online as a freelancer. Learn the skills to build and design professional websites, and create dynamic and interactive web applications using JavaScript, or WordPress. Our tutorials are tailored to help beginners and professionals alike. Whether you're just starting in the field or you're looking to expand your knowledge, we've got something for you. Join us on this journey to becoming a skilled web developer. Subscribe to our channel and let's get started!

Thank You!
👍 LIKE VIDEO
👊 SUBSCRIBE
🔔 PRESS BELL ICON
✍️ COMMENT

⚡Channel:    / @webstylepress  
⚡Patreon:   / webstylepress  
⚡Store 1: https://www.webstylepress.com/shop
⚡Store 2: https://www.webstylepress.com/store
⚡Website: https://www.webstylepress.com
⚡FaceBook:   / webstylepress  
⚡Twitter:   / webstylepress  
⚡Instagram:   / webstylepress  
⚡GitHub: https://github.com/webstylepress
#git #github #githubtutorial #WebStylePress #webdevelopment #coding


Watch video How to Set Up GitHub online without registration, duration hours minute second in high quality. This video was added by user WebStylePress 21 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,207 once and liked it 17 people.