the local git gets overwritten by the remote, how to find back code example
Example: git replace local branch with remote
git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with name
git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with name