I\'m in my local computer\'s master branch of a cloned master-branch of a repo from a remote server.
I updated a file, and I want to revert back to the original version
If you didn't commit it to the master branch yet, its easy:
git checkout -b oops/fluke/dang)git add -u; git commit;)git checkout master)Your changes will be saved in branch oops/fluke/dang; master will be as it was.