Tools and Process
What Is Git?
Also called: Version control
Git is a free version control system that records every change to your code, so you can undo mistakes and work with others on the same files.
Definition
Git is a version control system: it keeps a full history of the changes made to a project’s files. Each saved point is a commit, so you can see who changed what and return to any earlier version.
Linus Torvalds created Git in 2005 for Linux kernel development. Services such as GitHub, GitLab and Bitbucket host Git repositories online.
How it works
You edit files in a working folder, stage the changes you want with git add and save them as a commit with git commit. git push sends commits to a shared remote repository, and git pull brings in other people’s commits.
Branches let you work on a feature on its own. When it is ready, you merge the branch back and Git combines the changes.