To see the extension in action, open the example notebook included in the Binder demo. This extension tries to handle credentials for HTTP(S) connections (if you don't have set up a credential manager ...
In all modes, by default git lfs migrate operates only on the currently checked-out branch, and only on files (of any size and type) added in commits which do not exist on any remote. Multiple options ...