Project not working after pushing to git

When i pushed my entire unity project to git . All settings are gone and it is not working now . All asset and their relation are gone . Please suggest how to use git so that other person can take pull and work

Since git is not natively integrated in Unity I would suggest to close Unity when doing a git operation. You said it happened when pushing but that doesn’t affect the file structure.