Get Git Extensions - Download here, which is an open source Git GUI for Windows, Linux, and more.
Edit: So, after re-reading your question, I'm not 100% sure what you are looking to do - if you just want to see and record the commit history, there are many ways to do that, but Git Extensions is the easiest way I've found to easily visualize your entire commit history, including all branches in a repo, and execute any command you want, like adding tags to mark important commits, checking out and resetting to or reverting to old commits, etc.
However, if you are wanting to dig into the folders within a particular commit, the history of them, etc, the below will show how. To just see what is in a given commit, you can just check it out and browse your working directory directly (one of the most basic Git commands, that is a little counter-intuitive at first...)
Do the following to get the folder history (using Git Extensions):
- Load in the repo (either locally or remote) with Start/Open...
- It should open to the latest commit on master. If not click on it in the upper window (scan down until you see the
master tag on a commit) and click on it.
- Now, in the bottom window, it should be at the "commit" tab, and show you the commit info: Commit message, hash, etc.
- Click on the "File tree" tab, and it will show you the internal repo working directory for that commit.
- Find the directory in question, right click, and select "File History".
You can use the File History window to browse through commits that changed that folder, diffs, blames, etc.
I know there are similar ways of accessing this info with low-level plumbing commands, but Git Extensions makes it so easy to do a lot of these types of functions without needing to go there.
If you really, really want the CLI commands...
Using:
git log HEAD~2..HEAD
will show you the last few commits, including their full SHA-1 hashes (i.e. commit ID).
And using:
git log
will list all of them, for the current branch. If that is master, the last entry should be the first commit when you started the repo.