Introduction
The purpose of this document is to help people utilize version control to cooperatively handle projects of varying sizes efficiently.
Git is a free, open source version-control system designed to help coordinate multiple people working on the same files. Git is also the most popular version-control system in the world.
Table of Contents
Intended Users
This guide is designed for users, with little to no experience with Git, learn the ropes and get familiar with using basic Git commands, and features. By the end of this guide, you will be able to:
- Create a repository
- Assign your username and email to Git
- Manage your changes
- Pull updates from the latest version
- Commit and push changes
Prerequisite Knowledge
There is no required prerequisite knowledge to use Git. However, users are recommended to have basic coding knowledge as Git is mainly used to store and share code.
Software Versions
This guide is written based on version 2.35.1, the latest version at the moment.
The software can be downloaded here.
Brief History
In 2005, BitKeeper, a source-control management (SCM) software stopped offering a free-of-charge version to the community. Linus Torvalds, who had been using BitKeeper, decided to develop his own SCM software along with other Linux kernel developers.
Why use Git?
Git is the most commonly used version control system. Many companies whose main product involves software will use Git as a centralized version control system to manage the evolution of their product.
Developers can use Git to track the history of their product, which helps with data recovery in the event an error occurs.
Typographical Conventions
Convention | Typeface | Convention |
---|---|---|
Git | Normal Text | Refers to the program as a whole when capitalized |
files and directories | Bold | Are displayed in a bolded font |
command line input | Normal Text | Refers to command line text |
<variable> | Normal Text | Refers to a variable where users should replace |