Mastering Git and GitHub: Your Ultimate Guide to Learning and Using these Essential Tools
Hey there! Are you struggling to get the hang of Git and GitHub as a newbie? Well, fear not! This blog has got you covered with all the resouces you need. So, are you ready to level up your Git and GitHub skills? Great! Follow these simple steps to get started:
Step 0: Download, Installation and Configuration
(Time Required: 15 mins)
- Download the git version control from here.
- Let’s start with the installation process and configuring your name and email. Check out this helpful video by Code with Harry to get started.
Once your email and name are set up, you can move on to step 1.
Step 1: Learning the Basics
(Time Required: 15 mins)
This step is perfect for personal projects. Watch this video to learn the basics of Git and GitHub.
It’s all you need to get started and comfortable with using these tools. Get used to these commands:
git init
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"
git remote add origin
git remote add upstream
git remote -v
git add .
git commit -m "message"
git push origin master
You can find above commands in this GitHub Gist.
Step 2: Understanding Workflow
(Time Required: 2 hours)
Take some time to watch this awesome playlist on ‘How Git works’ and branching. You don’t need to follow along with the videos, just watch and understand everything.
Then, follow along with this awesome video of Kunal Kushwaha to learn Git from basic to master level.
If you don’t understand everything in this video, don’t worry! We’ll cover it again in step 4 if needed.
Congratulations!🎉 Now you have a good grasp of basic to intermediate level commands and understand difficult level commands required for using Git and GitHub.
Step 3: Using Git Extensions in VS Code
Things are going to get a lot easier from here on out. Watch this video to learn how to use extensions in VS Code.
Step 4: Becoming a “Pro”-grammar
If you want to contribute alot to open source, then go through this step. Otherwise, you can skip it. Head to a specific command in the video that you didn’t understand when you watched it in step 2.
Note: To become proficient in any skill, one must practice and apply it regularly. Simply acquiring knowledge about a skill is not enough; mastery comes from using it consistently and gaining experience through real-world application.
So, hit your keyboard and start contributing. Feel free to contribute to my repositories. I’m always up for helping new developers get started with open-source contribution.
Aand that’s all for now. See you in the next one. Happy contributing😁