Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
Steps to install on MAC:
First install homebrew on your machine using terminal. Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
Paste below command in terminal and hit enter
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
And now git-lefs can be installed using brew on OSx. Use below command.:
brew install git-lfs
How to download files when git-lfs was installed after git clone:
If repo is setup using git lfs, and you cloned your repo without installing git lfs, you might run into issue of broken files and images in your local repo. To fix this issue, please follow along. Use below command if you have already cloned a repo which is using lfs for files:
git lfs fetch
This command will download all Git LFS files for a given ref.
Enter username & password for github, if required.
This works for me!! Please share if any solution you found other than this.