When comparing Git for Windows vs gitk, the Slant community recommends Git for Windows for most people. In the question“What are the best Git clients for Windows?” Git for Windows is ranked 16th while gitk is ranked 22nd. The most important reason people chose Git for Windows is:
Git for Windows includes a command-line interface in the form of Git BASH, a graphical interface in the form of Git GUI and a context menu interface. Git BASH offers the complete power of git, Git GUI aims to cover all git functionality (though it falls a bit short) in a graphical way and the context menu enables quick access to simple commands.
Ranked in these QuestionsQuestion Ranking
Pro Offers three kinds of interfaces
Git for Windows includes a command-line interface in the form of Git BASH, a graphical interface in the form of Git GUI and a context menu interface.
Git BASH offers the complete power of git, Git GUI aims to cover all git functionality (though it falls a bit short) in a graphical way and the context menu enables quick access to simple commands.
Pro The most powerful way to use git
By using the CLI, one is given access to every single git function available, thus providing complete flexibility in managing git.
Pro Great community support
Since most devs invoke git via CLI, there's a higher chance of getting an answer to a CLI-based git problem than that which is GUI-based.
Pro Gives a better overview of how git functions
By using the git from the command line, it's possible to learn how it functions and how best to get the desired result.
Pro Can generate an RSA key pair
It's possible to generate an RSA key pair using Git BASH. Instructions on how to do so can be found here.
Pro Visual representation of commit-history is possible
Even a visual representation of various branches and how they're merged is possible.
To visualize history:
git log --graph
Pro Visibly more compact overview output than many other options
When using gitk to scan a long list of changes, the user is able to see more of the list without pagination, as there is no huge buffer of whitespace between each entry.
Since it's pretty minimalistic and does not contain a lot of features (for example, it can't commit), it's quite fast.
Gitk is a free and open source tool. It forms part of the official git suite.
Pro Comes with Git
Gitk is a part of the git package, so no additional application is necessary: it is developed right alongside git itself.
Pro Easy to use
Con Terrible UI
Although it does most of what needs to be done, the actions are not obvious. It is definitely not user-friendly.
Con Cannot commit
The user needs to use a different Git client (GUI or otherwise) to commit changes.
Con Does not automatically update
The user must press F5 to refresh the view as there is no automatic update available.