I have a project in a repository.
A programmer (not Me) changed the deployed code on the server directly instead of editing the Git controlled repository (a lot of changes have been made).
So now the repository has an old version of code.
What should I do in this case?
Should I create a new empty branch, copy the code from server there and then make this branch master
like it's described here?
Or something else?