My Linux Mint box seems to have a default version of Git installed:

$ git --version
git version 2.17.1

However, we can get the latest version (for Mint/Ubuntu/Debian):

$ sudo add-apt-repository ppa:git-core/ppa
You are about to add the following PPA:
The most current stable version of Git for Ubuntu.
For release candidates, go to https: / .
More info: https: /
Press Enter to continue or Ctrl+C to cancel
Executing: /tmp/apt-key-gpghome.RVLrIDy8yS/ --keyserver hkps: / --
recv-keys E1DD270288B4E6030699E45FA1715D88E1DF1F24
gpg: key A1715D88E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported
gpg: Total number processed: 1
gpg: imported: 1

And then:

$ sudo apt-get update
Ign:1 http: / tina InRelease
Hit:2 http: / tina Release
Get:12 http: / bionic/main Translation-en [2,252 B]
Fetched 281 kB in 2s (140 kB/s)
Reading package lists . Done

Then, re-install:

$ sudo apt-get install git
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
The following packages were automatically installed and are no longer required:
gir1.2-mate-desktop gir1.2-mate-panel libllvm6.0:i386 libllvm7 libllvm7:i386 libwaylandclient0:i386 libwayland-server0:i386 python-psutil python-xapp
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
git-man libpcre2-8-0
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs gitmediawiki git-svn
The following NEW packages will be installed:
The following packages will be upgraded:
git git-man
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,050 kB of archives.
After this operation, 9,595 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
- 18 -
[ .]
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

After which:

$ git --version
git version 2.28.0

Further reading:


Install Git for Windows, and include the Git Bash Prompt.

Git Bash prompt maps “home” or “~” to C:\users\Buster.

Through a bit of jiggery-pokery, although “/” is mapped to the Git install folder (i.e. “C:\Program Files\Git” , in order to get to the C: or D: drive you use “/C/” or “/D/”.

Hey, it’s better than what Cygwin does.

As a long-time user of TortoiseSVN, at first I thought I would use TortoiseGit but in hindsight, it is better to just bite the bullet and experiment with the command line. There’s just too much difference in how the two source control systems work. I got used to the Git Bash prompt quickly, and now it seems like the best way.