how to go back after trying to push a large file to github code example Example: git deleted file error $ git reset --hard HEAD~1