For MACOS
brew install git-lfs
Select the file types you’d like Git LFS to manage (or directly edit your .gitattributes). You can configure additional file extensions at anytime.
git lfs track "*.largefileext"
Commit and push to GitHub.
git add file.largefileext
git commit -m "Add design file"
git push origin master