Here (at least) there are two things that you can do here: you can postpone the remote repo or you can reset --hard to a common ancestor, and then perform an extraction that reset --hard to the last commit on the remote master.,
To be specific, here is a simple continuation of the original Nevik Rehnel answer:
git reset
NOTE : using git reset --hard any uncommitted changes, and it can be easy to confuse yourself with this command if you are new to git, so make sure you have an idea of โโwhat it is going to do before proceeding.
Eric Walker Dec 08 2018-12-12T00: 00Z
source share