An Introduction to Git
Git is a free, open source distributed version control system, also referred to as 'DVCS', which is designed to track changes in source code during the development of software.
- Home
- Knowledge Base
- An Introduction to Git
Created by Linus Torvalds in 2005 to manage the development of the Linux kernel, it has become the global industry standard, being utilised by over 90% of software and application developers worldwide.
Key Features
Distributed Architecture
Unlike older centralised systems, every developer has a full copy of the project history locally on their machine, allowing for offline work and fast performance.
Snapshots, Not Differences
Git records file states as snapshots called commits rather than just tracking line-by-line differences.
Data Integrity
Everything is cryptographically hashed using SHA-1 to ensure files cannot be changed or corrupted without Git knowing
Core Git Workflow
The local Git environment is divided into three primary areas.
- Working Directory: The local folder where you modify files.
- Staging Area or Index: A preview area where you prepare and mark changes to be included in your next commit.
- Local Repository: The internal hidden database (.git folder) where Git stores all your snapshots permanently.
Use Cases
Software Development: Git was born for this. Whether you're building a small app or a complex software system, Git streamlines the development process.
Documentation Management: Keep your documentation up-to-date with Git. Multiple authors can collaborate on manuals, wikis, or technical guides effortlessly.
Design Collaboration: Designers can use Git to version control design files, making it easy to track changes and maintain design consistency.
Package Management: Use Git to manage libraries, packages, and dependencies. It ensures everyone on your team is using the same versions.
Writing Projects: Authors and content creators can use Git to collaborate on manuscripts, articles, or books, preserving the history of changes.
Project Management: Git isn't just for code. You can manage projects, tasks, and team workflows with tools like GitLab and GitHub Projects.
Learn More
In Summary
Git is a distributed version control software system that is capable of managing versions of source code or data, often being used to control source code by programmers who are collaboratively developing software.
Related Information
To understand and learn more, the following information and related resources are available within our Knowledge Base.
Further Information, Websites & Links
The following websites and links provide further information and resources if you would like to learn more.
