From 7983b7e00cef32556083de1cb7716d37422f12e4 Mon Sep 17 00:00:00 2001 From: Fernanda Alvares Freire <83588057+fernandaalvaf@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:49:32 +0100 Subject: [PATCH] Update git.md added descriptions to the words in the glossary --- content/lessons/git.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/lessons/git.md b/content/lessons/git.md index a7af947..b67c53c 100644 --- a/content/lessons/git.md +++ b/content/lessons/git.md @@ -26,16 +26,28 @@ Git and GitHub work with a specific vocabulary to describe its functionalities a ## Clone +In version control, to clone is an action used to make a copy (or clone) of an existing repository while maintaining a reference to the original (copied) repository. + ## Stage +In version control, to stage is an action that selects a group of changes to be recorded through a commit. This means that not all changes performed are automatically included, and therefore recorded, in a new commit. + ## Commit +In version control, to commit is an action used to record the current state of a repository. + ## Push +When working locally on a copy of a repository hosted remotely, the changes that are carried out and commited need to be sent from the local copy to the remote repository in order to be applied. This process of transfering the commits from a local to a remote repository is called push. + ## Pull +When several collaborators are working together on a repository hosted remotely, it is very likely that they will work localy on copies of the repository and regularly transfer their commits to the remote repository through pushes. What happens when the remote repository goes through changes implemented by another user? You need to update your local copy to include these changes. The process of downloading the content of a remote repository and immediately updating the local repository to match the updated content is called pull. + ## Fetch +To fetch is an action that downloads the content of a remote repository while not integrating any new or changed content into your local copy of that repository. Fetching a remote repository gives the user an overview of the implemented changes that this repository has undergone while not directly implementing them to the local data. + # FAQs ## What’s the difference between fetch and pull?