Before doing anything else, do these 3 steps - back up your local repo, tell the other guy to make a backup, and back up the remote repo, as it is now. Nothing unusual, just Ctrl + C, Ctrl + V. Do this throughout the project to create a backup copy of the working tree. If you do not have direct access to the remote server, you will need to git clone, although I would prefer a real copy of the directory.
, git push -f . , , , , . git pull -f, git reflog .
Github, fooobar.com/questions/146945/.... -, API- Githubs, .