Hi! This is actually a pretty old issue going from version to version. If you have a scene open in the editor with some script, and then switch to another branch in the git, where the script fields were added or changed, then they will become null (None) after the scene is automatically reloaded. Unloading and loading a scene manually fixes references in inspector, but you have to do it yourself every time.
Version 2020.3.20 is currently used, but the bug was encountered on absolutely all other versions that I used