
Think of it as a directory having other sub-directories or blobs.īlobs – These are just normal plain files such as text files, source code files, or even pictures something like the file contents or the inode information. A tree is a sort of a file system directory and it can point to other Git trees. Tree – This contains one or moretreesand blobs.

Working tree: This is the directory in which you put the files that you want Git to manage.Lets get familiar with some terminology: You can host your remote repository on a company server as well. GitHub is a Web-based hosting service it offers a remote Git repository where you can host your files. Therefore, the name of the file is not really relevant to Git. No matter what data you insert into Git, it will checksum it using an SHA 1 algorithm and create a 40-character hex key. The core of Git is a key-value data system. Its different from other similar DVCS systems because it does not treat data as a set of files, but rather, when you save your project in Git, it takes a snapshot of how the files look at that instant in time and stores a reference to it.

vimrc or other such set-up/configuration files), important scripts, etc. Its mostly used by developers, but it can also be used to store your dot files (a dot file begins with a . and the term is generally used to refer to. Git is a distributed version control system (DVCS) created by Linus Torvalds. Its also for those who are comfortable with Linux but are hesitant to use Git, due to their lack of familiarity with it. This article explains to beginners and intermediate Linux users how to install, configure and use Git.
