git error unable to resolve reference code example Example: unable to resolve reference git rm .git/refs/remotes/origin/master git fetch --prune