From 050df496b13887dee7148c6e42177a2cb5756bd8 Mon Sep 17 00:00:00 2001 From: RedStealthDev Date: Tue, 31 Jan 2023 08:46:41 +0100 Subject: [PATCH] Added a what is git section --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa1d916..b9c08f4 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,21 @@ ## Usage ### Table of Usage -1. [Commit Pull Push](#Usage-cpp) -2. [Branches](#Usage-Bran) +1. [What is git?](#WhatIsGit) +2. [Commit Pull Push](#Usage-cpp) +3. [Branches](#Usage-Bran) + +### What is git +`Git` is a repository management system and can be explained as a google drive folder shared to everyone added to it.\ +But this drive folder is special because this folder can save your old changes additions and deletions of your files.\ +Lets say you added a image long ago that you think isnt needed anymore and decide to delete it.\ +But The whole program breaks and you nead that file back, so instead of remaking or finding it again you can yust use the special feature of git that allows you to undo the deletion and go back to before it happened.\ +This is one strength but not the only one that Git has and there is one more i want to explain.\ +So lets say that you are a big team of programmers that are working on a project but how would you go about getting the new code to work with the old.\ +That is were Git's feature called branches come in they are basicaly a copy of the main folder branches of with some new code like maby you make a script that handles the main menu.\ +And when that code is done you can do a `merge/pull request` and turn the branch around so that it connects back to the main project again. ### Commit Pull Push + ### Branches \ No newline at end of file