Today’s tip of the day is on git.
gitk
is the battery included, simple GUI that can show you the state of your git at any point in time? It is very convenient and much more intuitive to use and useful than the git log and git reflog CLI commands.
I use it every day. The fact that GITK is shipped with git is a good thing as if you have git, you will have this simple utility.
Typing gitk
in your bash or command line will open up this utility.
If you want to see all your branches you can use
gitk --all
This shows all the branches and structures.
But what if you want to see only the history of a single file. what if you want to track and piece through the history of just one file.
Well, there is one less know command-line option to gitk which comes in handy. The “--
“
Here’s how to use it.
gitk -- single file
See the demo below

let me know if you know any other commands that I don’t know in the comments below?
More tips like this in the links below