{"id":50909852,"url":"https://github.com/pratyushmishra9920-ship-it/git-github-start-here","last_synced_at":"2026-06-16T09:01:53.872Z","repository":{"id":356093479,"uuid":"1222606519","full_name":"pratyushmishra9920-ship-it/git-github-start-here","owner":"pratyushmishra9920-ship-it","description":"A beginner's guide to Git \u0026 GitHub. Read it, follow it, make your first real commit.","archived":false,"fork":false,"pushed_at":"2026-05-06T15:03:46.000Z","size":345,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T16:42:44.839Z","etag":null,"topics":["first-contributions","git","github","good-first-issue","open-source","pull-requests","vscode"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratyushmishra9920-ship-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-27T14:27:55.000Z","updated_at":"2026-05-06T15:08:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pratyushmishra9920-ship-it/git-github-start-here","commit_stats":null,"previous_names":["pratyushmishra9920-ship-it/git-github-start-here"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pratyushmishra9920-ship-it/git-github-start-here","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushmishra9920-ship-it%2Fgit-github-start-here","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushmishra9920-ship-it%2Fgit-github-start-here/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushmishra9920-ship-it%2Fgit-github-start-here/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushmishra9920-ship-it%2Fgit-github-start-here/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratyushmishra9920-ship-it","download_url":"https://codeload.github.com/pratyushmishra9920-ship-it/git-github-start-here/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushmishra9920-ship-it%2Fgit-github-start-here/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34398408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["first-contributions","git","github","good-first-issue","open-source","pull-requests","vscode"],"created_at":"2026-06-16T09:01:48.252Z","updated_at":"2026-06-16T09:01:53.863Z","avatar_url":"https://github.com/pratyushmishra9920-ship-it.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐙 Git \u0026 GitHub — Complete Beginner Guide\n\n\u003e **If you have never used Git or GitHub before, this guide is written exactly for you. Read it once, follow every step, and by the end your code will be live on GitHub.**\n\n---\n\n## 📌 Table of Contents\n\n- [What is Git and GitHub?](#what-is-git-and-github)\n- [Why is it Important?](#why-is-it-important)\n- [What is it Used For?](#what-is-it-used-for)\n- [How to Download Git](#how-to-download-git)\n- [How to Create a GitHub Account](#how-to-create-a-github-account)\n- [Setup Git on Your Computer](#setup-git-on-your-computer)\n- [Must Know Git Commands](#must-know-git-commands)\n- [Your First GitHub Push — Step by Step](#your-first-github-push--step-by-step)\n- [Your First Real Git Task](#your-first-real-git-task)\n\n---\n\n## What is Git and GitHub?\n\n**Git** is a version control system that tracks every change you make in your code over time. It runs locally on your computer.\n\n**GitHub** is a cloud-based platform that hosts your Git repositories online so you can store, share, and collaborate on code from anywhere.\n\n\u003e Think of **Git** as the tool and **GitHub** as the place where your work lives.\n\n---\n\n## Why is it Important?\n\nWithout Git, every mistake means losing work. With Git, every change is tracked and you can go back to any previous version anytime.\n\nGitHub takes it further:\n\n- Your code is backed up online\n- It is visible to the world\n- It acts as your **developer portfolio**\n\nRecruiters and companies look at your GitHub profile. It shows what you have built, how you think, and that you actually ship things.\n\n\u003e ⚠️ **No GitHub profile in 2026 is a red flag.**\n\n---\n\n## What is it Used For?\n\n- Tracking every change you make in your code\n- Going back to a previous working version if something breaks\n- Collaborating with other developers on the same project\n- Contributing to open source projects\n- Showcasing your projects to recruiters and the world\n- Deploying projects through Vercel, Netlify and other platforms that connect directly to GitHub\n\n---\n\n## How to Download Git\n\n\u003e ⚠️ **Follow each step one by one. Do not skip any step.**\n\n**Step 1** — Go to [https://git-scm.com/downloads](https://git-scm.com/downloads)\n\n**Step 2** — Click on your operating system — Windows, Mac, or Linux\n\n**Step 3** — Download the installer and open it\n\n**Step 4** — Keep clicking **Next** with the default settings. Do not change anything if you are a beginner.\n\n**Step 5** — Click **Install** and wait for it to finish\n\n**Step 6** — Open your terminal or command prompt and run this one command to confirm Git installed correctly:\n\n```bash\ngit --version\n```\n\n✅ If you see something like `git version 2.x.x` — Git is installed successfully.\n\n---\n\n## How to Create a GitHub Account\n\n**Step 1** — Go to [https://github.com](https://github.com)\n\n**Step 2** — Click **Sign Up** in the top right corner\n\n**Step 3** — Enter your email, create a password, and choose a username\n\n\u003e 💡 Keep your username **professional** — recruiters will see it. Avoid random numbers or silly names.\n\n**Step 4** — Verify your email address\n\n**Step 5** — You are done. Your GitHub profile is now live. ✅\n\n---\n\n## Setup Git on Your Computer\n\nAfter installing Git, you need to tell Git who you are. Open your terminal and run these **one by one** — type one, press Enter, wait, then type the next:\n\n```bash\ngit config --global user.name \"Your Name\"\n```\n\u003e ☝️ Run this first. Press Enter. Wait for it to finish.\n\n```bash\ngit config --global user.email \"your@email.com\"\n```\n\u003e ☝️ Run this second. Press Enter. Wait for it to finish.\n\n✅ Git is now set up with your identity.\n\n---\n\n## Must Know Git Commands\n\n\u003e ⚠️ **Important — Run each command one at a time. Type it, press Enter, wait for it to finish, then move to the next one. Do not copy all commands together.**\n\n---\n\n### Check Git version\n```bash\ngit --version\n```\n\n---\n\n### Initialise a new Git repo in your project folder\n```bash\ngit init\n```\n\n---\n\n### Check status of your files\n```bash\ngit status\n```\n\n---\n\n### Add all files to staging\n```bash\ngit add .\n```\n\n---\n\n### Add a specific file only\n```bash\ngit add filename.txt\n```\n\n---\n\n### Save your changes with a message\n```bash\ngit commit -m \"your message here\"\n```\n\u003e 💡 Write a meaningful message like `\"added login page\"` not just `\"changes\"`\n\n---\n\n### Connect your local project to a GitHub repo\n```bash\ngit remote add origin https://github.com/username/repo-name.git\n```\n\n---\n\n### Push your code to GitHub\n```bash\ngit push -u origin main\n```\n\n---\n\n### Pull latest code from GitHub\n```bash\ngit pull\n```\n\n---\n\n### Clone someone else's repo to your computer\n```bash\ngit clone https://github.com/username/repo-name.git\n```\n\n---\n\n### Check all commit history\n```bash\ngit log\n```\n\n---\n\n### Create a new branch\n```bash\ngit branch branch-name\n```\n\n---\n\n### Switch to a branch\n```bash\ngit checkout branch-name\n```\n\n---\n\n### Create and switch to a new branch in one command\n```bash\ngit checkout -b branch-name\n```\n\n---\n\n### Merge a branch into main\n```bash\ngit merge branch-name\n```\n\n---\n\n### See difference in changes\n```bash\ngit diff\n```\n\n---\n\n## Your First GitHub Push — Step by Step\n\n\u003e ⚠️ **Read all steps first before you start. Then follow them one by one.**\n\n---\n\n**Step 1** — Go to [https://github.com](https://github.com), click the **+** icon in the top right and select **New Repository**\n\n**Step 2** — Give your repo a name, leave everything else as default, and click **Create Repository**\n\n**Step 3** — Open your terminal inside your project folder and run each of these commands **one by one**. Do not run them all at once:\n\n```bash\ngit init\n```\n\u003e ☝️ Run this. Press Enter. Wait.\n\n```bash\ngit add .\n```\n\u003e ☝️ Run this. Press Enter. Wait.\n\n```bash\ngit commit -m \"first commit\"\n```\n\u003e ☝️ Run this. Press Enter. Wait.\n\n```bash\ngit remote add origin https://github.com/yourusername/your-repo.git\n```\n\u003e ☝️ Replace `yourusername` and `your-repo` with your actual GitHub username and repo name. Run this. Press Enter. Wait.\n\n```bash\ngit push -u origin main\n```\n\u003e ☝️ Run this. Press Enter. Wait.\n\n**Step 4** — Go back to your GitHub repo page and refresh it.\n\n✅ **Your code is now live on GitHub.**\n\n---\n\n## 🚀 Your First Real Git Task\n\nReading about Git is one thing. Actually doing it is another.\n\nBelow is the exact flow of a real contribution — done entirely through VS Code, no terminal needed. These are actual screenshots of it being done live. Follow the same steps to make your first real commit on GitHub.\n\n---\n\n### Step 1 — Fork this repo\n\nGo to this repo on GitHub and click the **Fork** button in the top right corner. This creates a copy of this repo under your own GitHub account.\n\n\u003e 💡 Forking means you are creating your own copy of someone else's repo. You make changes in your copy and then raise a Pull Request to get it merged into the original.\n\n---\n\n### Step 2 — Clone your forked repo in VS Code\n\nGo to your forked repo — it will be at `https://github.com/yourusername/git-github-start-here`\n\nClick the green **Code** button and copy the link.\n\nNow open VS Code. Press **Ctrl + Shift + P**, type **Git Clone** and hit Enter. Paste the link you copied.\n\nVS Code will ask you where to save it — pick a folder and open it.\n\n---\n\n### Step 3 — Create a new branch\n\nIn VS Code look at the **bottom left corner** — you will see the current branch name `main`. Click on it and a search bar dropdown will open. Select **Create new branch**.\n\nName it `add-yourname` — example: `add-pratyush`\n\nYou will see the branch name in the bottom left change to your new branch name.\n\n![Create new branch in VS Code](screenshots/1.png)\n\n---\n\n### Step 4 — Open CONTRIBUTORS.md and add your line\n\nIn the left file explorer click on **CONTRIBUTORS.md** to open it.\n\nAdd yourself at the bottom of the table in this exact format:\n\n```\n| Your Name | your@email.com | What you want to build |\n```\n\nSave the file with **Ctrl + S**. You will see it marked **M** (modified) in the Source Control tab on the left.\n\n---\n\n### Step 5 — Stage and commit your change\n\nClick the **Source Control icon** on the left sidebar — it looks like a branch with two nodes.\n\nYou will see **CONTRIBUTORS.md** listed there with an **M** next to it.\n\nClick the **+** icon next to the file to stage it.\n\nThen write your commit message in the box at the top — something like:\n\n```\nadd my name to contributors\n```\n\nClick **Commit**.\n\n![Commit in VS Code](screenshots/2.png)\n\n---\n\n### Step 6 — Push your branch\n\nAfter committing, VS Code will show a **Publish Branch** or **Sync Changes** button. Click it to push your branch to GitHub.\n\n---\n\n### Step 7 — Raise a Pull Request\n\nGo to your forked repo on GitHub. You will see a banner saying your branch had recent pushes with a **Compare \u0026 pull request** button. Click it.\n\nAdd a title like `add my name to contributors` and hit **Create Pull Request**.\n\n![Pull Request open](screenshots/3.png)\n\n---\n\n### Step 8 — Wait for it to get merged\n\nOnce the PR is merged your name is permanently live in the original repo. That is your first real Git contribution.\n\n\u003e 💡 Want to see how it looks? Go to the repo → click **Branches** at the top → you will see all contributor branches. Click on any branch to see the exact changes they made.\n\n---\n\n\u003e 👥 See who has already done it — [CONTRIBUTORS.md](CONTRIBUTORS.md)\n\n[👉 Add your name now](CONTRIBUTORS.md)\n\n---\n\n## ❓ FAQ\n\n**Q: What should I write in \"What I Want to Build\"?**\n\u003cbr\u003e\nA: Write any project idea you have — an app, website, tool, anything. Even if it's just an idea, write it down.\n\n**Q: Do I need to know coding to contribute?**\n\u003cbr\u003e\nA: No! Just follow the steps in this guide. That's exactly what it's for.\n\n**Q: How long does it take to make my first contribution?**\n\u003cbr\u003e\nA: If you follow this guide step by step, around 15-20 minutes.\n\n\n---\n\n\n\u003e **Your GitHub profile is your resume. Every commit is proof that you build. Start pushing.** 🐙\n\n\n---\n\n\u003e ⭐ **Star this repo if it helped you. That's how more beginners find it.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyushmishra9920-ship-it%2Fgit-github-start-here","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratyushmishra9920-ship-it%2Fgit-github-start-here","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyushmishra9920-ship-it%2Fgit-github-start-here/lists"}