From addd1fcdc6860ffe2bf7ecd40eb5767f41e5b39d Mon Sep 17 00:00:00 2001 From: Diya Date: Thu, 9 Oct 2025 19:53:14 +0530 Subject: [PATCH 1/2] Update intro-github.md The previous version of the introduction article had an illogical flow for new learners, jumping between concepts without building a proper foundation. SEO elements were also minimal. This commit completely restructures the content to be more beginner-friendly and impactful: - Introduces the concept of Version Control first to establish the "why". - Clearly distinguishes between Git (the tool) and GitHub (the platform). - Improves SEO with a keyword-rich title, meta description, and tags. - Rewrites core concepts like 'Repository' and 'Pull Request' for better clarity. - Organizes the content with a logical heading structure. --- docs/Technical/intro-github.md | 49 ++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/docs/Technical/intro-github.md b/docs/Technical/intro-github.md index f25834cf..c45a825d 100644 --- a/docs/Technical/intro-github.md +++ b/docs/Technical/intro-github.md @@ -1,37 +1,34 @@ --- id: intro-github -title: Introduction of GitHub +title: Getting Started with GitHub in 2025 sidebar_label: Introduction of GitHub #displays in sidebar sidebar_position: 1 tags: [ - GitHub, + GitHub,git,version control Introduction of GitHub, - What is GitHub, - Why learn GitHub, + What is GitHub, open source + Why learn GitHub,beginner guide How to use GitHub, ] -description: In this tutorial, you will learn about GitHub, its importance, what is GitHub from Scratch, how to use GitHub, steps to start using GitHub, and more. ---- +description: New to GitHub? This beginner's guide explains what Git and GitHub are, why they're essential for developers, and how to start your open-source journey. Learn key concepts like repositories, commits, and pull requests. GitHub is a web-based platform used for version control and collaboration. It allows developers to work together on projects from anywhere in the world. GitHub is built on top of Git, a distributed version control system created by Linus Torvalds in 2005. -:::note + Key Features of GitHub: GitHub will help you to control the version of the project on a large scale. GitHub offers Premium account for use, Premium users get unlimited Github Repo time, Storage etc. -::: ## How to start with GitHub? -Whenever you create something exciting or something new on your own, you always want to show it to others. As programmers, we also want to show our projects and codes to others, but how? So GitHub is the solution, it let's people to collaborate and scale the projects all on cloud. Some other example of simillar platform are , Bitbucket, GitLab, Beanstalk, etc. Many of them give you the facility to work on your code together as a team. Currently, Github is more popular than other above-listed platforms for hosting your code. -:::info +Whenever you create something exciting or something new on your own, you always want to show it to others. As programmers, we also want to show our projects and codes to others, but how? So GitHub is the solution, it lets people collaborate and scale the projects all on cloud. Some other example of simillar platform are , Bitbucket, GitLab, Beanstalk, etc. Many of them give you the facility to work on your code together as a team. Currently, Github is more popular than other above-listed platforms for hosting your code. + In the picture below you could see Developer 1, Developer 2... are working on the same project , lets say they are trying to build a amazon website, developer 1 handles the Mens shopping section, Developer 2 deals with Womens section, Developer 3 works on the login feature. So each indivituals works on different feature from the copy of the central repository, once the development is done they push changes to the **remote repository** (central repo as per picture). Once **code review** happens and good to go, the senior developer will merge the code to the central repository so all the feature will be live on production. -::: [![Visual Studio Code](./assets/1-Introduction-to-github.png)](https://code.visualstudio.com/) @@ -39,15 +36,21 @@ So each indivituals works on different feature from the copy of the central repo -## What is Git?? +## What is Git? So in the above example all the developer where able to work on different feautre simulatneaulsy because of the git. For uploading your project to your Github account, you need to install Git first. In other words, Git helps to do this version management of the files and coordinating work among the diverse team in the software development phase. Git is an open-source project and developed in 2005 by Linus Torvalds and Junior. +Git vs. GitHub: What's the Difference? +This is the most common point of confusion for beginners. Let's make it simple. + +Git: The Local Tool 💻 +Git is the version control system itself. It's a command-line tool you install on your computer. Git is the engine that tracks changes, manages different versions (called "branches"), and handles the history of your project. It was created by Linus Torvalds, the same creator of the Linux operating system. + +It's Distributed: Every developer has a full copy of the project's history on their local machine. You can work offline, make changes, and commit them. - -:::info -1. **What is Version control System?**: To understand the version control system, let me give you one example; sometimes, you wish you have a record that contains all the changes you made in your code or your project. The version control systems are software tools that record all of your changes in the files. It is like a database of changes. Git is a version control system that most developers prefer to use. We will see how you can upload your code on Github using Git. With VCS you can track the branch, who made changes at what time, line of code added, retrive the previous version of changes. -2. Basic Git Terminology:: + +1.**What is Version control System?**: To understand the version control system, let me give you one example; sometimes, you wish you have a record that contains all the changes you made in your code or your project. The version control systems are software tools that record all of your changes in the files. It is like a database of changes. Git is a version control system that most developers prefer to use. We will see how you can upload your code on Github using Git. With VCS you can track the branch, who made changes at what time, line of code added, retrive the previous version of changes. +2. **Basic Git Terminology:** | Keyword | Terminology | Description | | --- | --------------- | -------------------- | @@ -62,19 +65,22 @@ So in the above example all the developer where able to work on different feautr | Commit | | Makes Changes | | Branch | a series of Linked commit | The recent commit is called Head. | | Remote | | reference to other git repo | + | Pull Request: A proposal to merge a set of changes from one branch into another.| + | Actions: Automate your workflow, such as building, testing, and deploying your code right from GitHub.| + |Fork: A personal copy of another user's repository.| | | Git Command | Check this tutorial -::: + ## Why Learn GitHub? -GitHub Simplfy all the command line interface of Git and make it more GUI friendly. GitHub has builds above of git. Here want we do is staging the files and doing the commit, You can clone the entire repository and create a branch and commit to that branch ask the main developer to merge the branch. when you clone in reality you are creating a copy of the real code/repository in your local environment. +GitHub Simplfy all the command line interface of Git and make it more GUI friendly. GitHub is built on top of Git. Here want we do is staging the files and doing the commit, You can clone the entire repository and create a branch and commit to that branch ask the main developer to merge the branch. when you clone in reality you are creating a copy of the real code/repository in your local environment. ![Git Structure](./assets/2-git-strucutre.png) -:::info -1. Basic GitHub Keywords:: + +1. Basic GitHub Keywords: | Category | Description | | --- | -------------------- | @@ -90,9 +96,6 @@ GitHub Simplfy all the command line interface of Git and make it more GUI friend The fork is a personal copy of the repo which is already present or uploaded in GitHub by a different user. Once you fork and make changes to the repository the changes will happen to your forked repo, not the real one. -::: - - ### Watch the video Tutorial From c6ec9dfd44f00d9663df4824e2ab4fdc4db96e59 Mon Sep 17 00:00:00 2001 From: Diya Date: Thu, 9 Oct 2025 20:21:24 +0530 Subject: [PATCH 2/2] Update intro-github.md The previous version of the introduction article had an illogical flow for new learners, jumping between concepts without building a proper foundation. SEO elements were also minimal. This commit completely restructures the content to be more beginner-friendly and impactful: - Introduces the concept of Version Control first to establish the "why". - Clearly distinguishes between Git (the tool) and GitHub (the platform). - Improves SEO with a keyword-rich title, meta description, and tags. - Rewrites core concepts like 'Repository' and 'Pull Request' for better clarity. - Organizes the content with a logical heading structure. --- docs/Technical/intro-github.md | 39 +++++++++++++--------------------- 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/docs/Technical/intro-github.md b/docs/Technical/intro-github.md index c45a825d..c341e978 100644 --- a/docs/Technical/intro-github.md +++ b/docs/Technical/intro-github.md @@ -39,36 +39,27 @@ So each indivituals works on different feature from the copy of the central repo ## What is Git? So in the above example all the developer where able to work on different feautre simulatneaulsy because of the git. For uploading your project to your Github account, you need to install Git first. In other words, Git helps to do this version management of the files and coordinating work among the diverse team in the software development phase. Git is an open-source project and developed in 2005 by Linus Torvalds and Junior. -Git vs. GitHub: What's the Difference? -This is the most common point of confusion for beginners. Let's make it simple. - -Git: The Local Tool 💻 -Git is the version control system itself. It's a command-line tool you install on your computer. Git is the engine that tracks changes, manages different versions (called "branches"), and handles the history of your project. It was created by Linus Torvalds, the same creator of the Linux operating system. - -It's Distributed: Every developer has a full copy of the project's history on their local machine. You can work offline, make changes, and commit them. - - 1.**What is Version control System?**: To understand the version control system, let me give you one example; sometimes, you wish you have a record that contains all the changes you made in your code or your project. The version control systems are software tools that record all of your changes in the files. It is like a database of changes. Git is a version control system that most developers prefer to use. We will see how you can upload your code on Github using Git. With VCS you can track the branch, who made changes at what time, line of code added, retrive the previous version of changes. 2. **Basic Git Terminology:** | Keyword | Terminology | Description | | --- | --------------- | -------------------- | - | VCS | Version Control System | Track changes to a collection of files | - | SCM | Software configuration Management | Another name for VCS, the earlier version of VCS like CVS, SVN used to be centralised server, which cause single point of failure. | - | DVCS | Distributed Version Control System| Git is distributed, the project history is stored both in client and server. Means you can make changes locally and remote. | - | Working Tree | Tree | Current version of files where the active project is on | - | Repo | Repository | Top of working Tree where git keep all records and history. | - | Bare repo | | Not part of working Tree ends with .git, eg. backup.git | - | Hash | 160 bit long SHA-1 | Based on the hash number, the file has been modified or not. | - | Object | Git have 4 objects | Tree Object(directory, names), Blob Object(main file), Commit Object(spesfic versions), Tag(name attached to commit) | - | Commit | | Makes Changes | - | Branch | a series of Linked commit | The recent commit is called Head. | - | Remote | | reference to other git repo | - | Pull Request: A proposal to merge a set of changes from one branch into another.| - | Actions: Automate your workflow, such as building, testing, and deploying your code right from GitHub.| - |Fork: A personal copy of another user's repository.| - | | Git Command | Check this tutorial + | 1.VCS | Version Control System | Track changes to a collection of files | + | 2.SCM | Software configuration Management | Another name for VCS, the earlier version of VCS like CVS, SVN used to be centralised server, which cause single point of failure. | + |3. DVCS | Distributed Version Control System| Git is distributed, the project history is stored both in client and server. Means you can make changes locally and remote. | + | 4.Working Tree | Tree | Current version of files where the active project is on | + | 5.Repo | Repository | Top of working Tree where git keep all records and history. | + | 6.Bare repo | | Not part of working Tree ends with .git, eg. backup.git | + | 7.Hash | 160 bit long SHA-1 | Based on the hash number, the file has been modified or not.| + | 8.Object | Git have 4 objects | Tree Object(directory, names), Blob Object(main file), Commit Object(spesfic versions), Tag(name attached to commit) | + | 9.Commit | | Makes Changes | + | 10.Branch | A series of Linked commit | The recent commit is called Head. | + |11.Remote | | Reference to other git repo | + | 12.Pull Request: A proposal to merge a set of changes from one branch into another.| + |13.Actions: Automate your workflow, such as building, testing, and deploying your code right from GitHub.| + |14.Fork: A personal copy of another user's repository.| + |Git Command | Check this tutorial