Cannot commit changes to github after enabling netlify large media

  1. I also ran the following, as per this troubleshooting post:
$ netlify plugins:install netlify-lm-plugin
$ netlify lm:install
  1. Now I was not asked for a username but I am getting the following error on git push:
Authentication required: Authorization error: https://XXXX.netlify.app/.netlify/large-media/verify
Check that you have proper access to the repository
  1. I then ran netlify unlink and then netlify link again, then chose the option to manually select a recently updated repo and THAT solved it.

I have regularly had issues with Netlify Large Media, it seems fragile. Last time unlink + link did the trick, now it was a bit more complex.