The "I Don't Know" Moment
Let’s be honest: GitHub looks terrifying. It looks like the Matrix, and if you touch the wrong button, you feel like you’re going to delete the internet.
But here is the secret developers don't want you to know: It’s just a fancy "Save" button.
At The Know-How Academy, we believe you shouldn't need a Computer Science degree just to back up your website. We are going to translate this dry technical manual into something you can actually read without falling asleep.
Setting Up Your Digital Safety Net
Create Your Account (The Easy Part)
GitHub is the cloud storage (Google Drive), and Git is the delivery truck that drives your files from your laptop to the cloud.
- Go to GitHub and sign up. It’s free. Then, install Git on your computer.
Create a Repository (The Folder)
"Repository" is a scary word for "Folder." That’s it. It’s a bucket where your project lives.
- Click "New".
- Name it something creative (or boring, like my-first-repo).
- Public means the world can see your code (great for showing off). Private means it's for your eyes only (great for messy drafts).
- Check the README box: Ideally, do this. It’s like sticking a post-it note on the folder that says "This is what's inside."
Clone the Repo (The Copy-Paste)
Now you need to get that folder onto your computer. This is called Cloning.
- Grab the URL from GitHub.
- Open your terminal (Yes, the hacker screen. Don't panic).
- Type this magic spell: git clone https://github.com/your-username/my-first-repo.git
The "Save Game" Commands
You are going to type these commands a lot. Think of them as the "Quick Save" button in a video game before you fight a boss.
Check Status (git status)
- The Vibe: "Hey computer, what did I break?"
- This tells you which files you’ve changed.
Stage Your Changes (git add)
- The Vibe: "Okay, put these files in the box."
- Type git add . to add everything. (The dot stands for "everything" - lazy, but efficient).
Commit Your Changes (git commit)
- The Vibe: "Seal the box and write a note."
- Type: git commit -m "I fixed the typo"
- Warning: Write a real message. If you just write "updates," future-you will hate present-you.
Push to GitHub (git push)
- The Vibe: "Yeet this into the cloud."
- Type: git push origin main. Now your files are safe on the internet.
Branches: The Multiverse Theory
This is the coolest part of GitHub. Branches let you create a parallel universe of your project.
Create a Branch
- Type: git checkout -b new-feature
- You are now in a safe timeline. You can delete everything, break the site, or turn the background neon pink. It won't affect your main website.
Switch Back
- Panic over? Go back to reality: git checkout main.
Merge (The Collision)
- Did your neon pink background actually look good? great. Merge that parallel universe back into reality: git merge new-feature.
Pull Requests: The "Manager Approval"
If you are working with a team (or an IDK Solutions partner), you don't just merge things willy-nilly. You create a Pull Request (PR).
- It’s basically asking, "Hey, I changed some stuff. Can you check it before I break the live site?"
- It allows you to review changes and click "Merge" only when you're ready.
Still saying "I Don't Know"?
Look, we get it. You run a business, you don't want to run a command line. If this still sounds like a headache you don't need, IDK Solutions acts as your "Fractional CTO." We handle the pushes, pulls, and merges so you can handle the sales.