GitLab
Follow
Journey through Git's 20-year history
Git, a version control system, recently celebrated its 20th anniversary. Linus Torvalds made the first commit on April 7, 2005, marking the project's beginning. Initially, Git lacked many user-friendly features like the 'git' command itself, requiring direct execution of commands such as 'init-db' and 'update-cache'. Creating commits involved manually updating the index, writing a tree, and setting environment variables before using 'commit-tree'. Version 0.99 introduced references for branches and a remote protocol for exchanging objects. Linus handed over maintainership to Junio Hamano, who continues to lead the project today. Git 1.0 brought the 'git-merge' command and shorthand notation for remote repositories, though remotes were managed differently then. In 2007 and 2008, the first Git logo and the website git-scm.com were launched, respectively. Git 2.0 included backwards-incompatible changes like updating the default behavior of 'git-push' and 'git-add'. The update to 'git-push' aimed to reduce the risk of unintentionally pushing changes. The change to 'git-add' automated the staging of deleted files, simplifying the process for users.