Git Tutorial
Git is an open-source distributed version control system designed for handling projects of any size with agility and efficiency.
Git was developed by Linus Torvalds as an open-source version control software to assist in managing the Linux kernel development.
Unlike commonly used version control tools like CVS and Subversion, Git employs a distributed version control system, eliminating the need for server-side software.
Git vs. SVN
Git is not just a version control system; it's also a content management system (CMS) and a work management system.
If you have a background in using SVN, you'll need to adjust your thinking to accommodate some of the concepts and features provided by Git.
Differences between Git and SVN:
-
1. Git is distributed, while SVN is not: This is the core difference between Git and other non-distributed version control systems like SVN and CVS.
-
2. Git stores content in a metadata format, whereas SVN stores it by file: All resource control systems hide file metadata in folders like .svn and .cvs.
-
3. Git and SVN branches are different: In SVN, a branch is not special; it's simply another directory in the repository.
-
4. Git lacks a global version number, unlike SVN: This is one of the major features Git is missing compared to SVN.
-
5. Git has better content integrity than SVN: Git uses the SHA-1 hash algorithm to store content, ensuring the integrity of the code and reducing repository damage from disk failures and network issues.
Git Quick Start
This site also provides a Git quick start guide, which you can view by clicking Git Concise Guide.
After getting started, it is recommended to learn Git in detail through this tutorial.
Complete Git command manual: http://git-scm.com/docs
PDF version of the command manual: github-git-cheat-sheet.pdf