见官网:
https://github.com/git-lfs/git-lfs/wiki/Installation
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- sudo apt-get install git-lfs
- git lfs install