Finding out the name of the original repository you cloned from in Git - Stack Overflow:
You can also use git remote show origin to see much more information about just that remote.


And in case I missed this earlier...

For example, to show the 4th last commit of the file src/main.c, use:

$ git show HEAD~4:src/main.c

Labels: ,