Github for large file storage


Github is  a protocol designed by Tom Preston , Chris wanstrath and Scott chacon to help the programmers or developers to share their thoughts and code without any hustle. In this post I discussed Github  large file storage.

What is a GitHub?

Git Hub is platform ,which provides hosting for software development and version control using Git. 

Git is a distributed version-control system for tracking modifications  in source code during software development. It is designed for coordinating work among programmers and developers, but it can also be used to track changes in any set of files. Its main agenda include speed, data integrity, and support for distributed, non-linear workflows. 

This famous protocol was designed by Linus Torvalds.

What is GitHub Large files(LFS)?

GitHub LFS is used to store large files like media files to the cloud server in remote area.

How to use GitHub LFS ?

Git Hub large file storage is discussed in step by step procedure:  

Step1 : Download and install the Git command line extension. 

Once downloaded and installed, set up Git LFS for your user account by running the command:

    git lfs install.

 Step2: In each Git repository where you want to use Git LFS, select the file types you’d like Git LFS to manage (or directly edit your     .gitattributes).

Now make sure .gitattributes is tracked by executing following command:

git add .gitattributes

Step 3 : Commit and push. The commands are as follows:

git add file.psd

git commit -m “Add design file”

git push origin master

What are Features of GitHub LFS?

Large file versioning

More repository space

Faster cloning and fetching

Same Git workflow

Same access controls and permissions


GitHub comes with an very good solution to solve the problem of large file , in future I will post more articles on Github usage.