Let's Understand What is GIT?
Git is a distributed version control system
Git is for tracking the changes in your source code during one particular development
It is designed to handles every project with speed and efficiency
Git also helps you synchronize the code between multiple people
There are six key terminologies
A repository is like a folder for your project. It contains the collection of the file as well as the history of the changes made to those files.
It is contained within the repository but does not affect the primary or master branch allowing you to work freely without disrupting the "live" version. You can merge it back into the master branch when you are ready to publish your changes.
Commits are easily one of the most frequented activities by a developer using GitHub. Simply put, a commit or revision is like 'saving' an updated file to its original folder.
Let's understand, it is very simple
Repository: The location where your code history is stored.
Branch: "Folder" within the repository containing commits
Commits: Different stages of your code inside a branch.
It is used to make a copy of the target repository or clone it, but you can't push changes to the original repo if you are not the project owner.
Fetching refers to getting the latest changes from a remote repository without merging them in. Once these changes are fetched you can now compare them to your local branches.
A fork is a rough copy of another user's repo. Forking a repository allows you to freely test and debug with changes without affecting the original project.
Git Cheatsheet: https://education.github.com/git-cheat-sheet-education.pdf