I have a project under Git version control that I worked on both a server and my local computer. I originally had the remote origin set as my local computer but I would now
If fetching --unshallow doesn't work. There must be some problems with your branch. Fix it with the following command before pushing it.
git filter-branch -- --all
Do this only with --unshallow doesn't work since there's a SAFETY concern.