when the file size is greater than 50MB, git prompt an error while pushing to github:
remote: warning: File <filename> is xx MB; this is larger than GitHub's recommended maximum file size of 50.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
there are two ways to solve
1. Upload large files to github (paid)
download for windows
git lfs track "*.psd" git add .gitattributes
then commit and push to github but it requires charge for large file upload
2. Ignore large files (free)
git filter-branch --index-filter "git rm --cached --ignore-unmatch filename"
it will remove the file on commit one by one. then you can commit and push to github without error